func (ec *EquipmentCreate) AddPortIDs(ids ...string) *EquipmentCreate {
	if ec.ports == nil {
		ec.ports = make(map[string]struct{})
	}
	for i := range ids {
		ec.ports[ids[i]] = struct{}{}
	}
	return ec
}
// AddPortIDs adds the ports edge to EquipmentPort by ids.
AddPortIDs adds the ports edge to EquipmentPort by ids.
// AddPortIDs adds the ports edge to EquipmentPort by ids .
func (ec *EquipmentCreate) AddPortIDs(ids ...string) *EquipmentCreate {
	if ec.ports == nil {
		ec.ports = make(map[string]struct{})
	}
	for i := range ids {
		ec.ports[ids[i]] = struct{}{}
	}
	return ec
}
func ( ec * EquipmentCreate ) AddPortIDs ( ids ... string ) * EquipmentCreate { if ec . ports == nil { ec . ports = make ( map [ string ] struct { } ) } for i := range ids { ec . ports [ ids [ i ] ] = struct { } { } } return ec }
AddPortIDs adds the ports edge to EquipmentPort by ids.
AddPortIDs adds the ports edge to EquipmentPort by ids .