func (etu *EquipmentTypeUpdate) AddPortDefinitionIDs(ids ...string) *EquipmentTypeUpdate {
	if etu.port_definitions == nil {
		etu.port_definitions = make(map[string]struct{})
	}
	for i := range ids {
		etu.port_definitions[ids[i]] = struct{}{}
	}
	return etu
}
// AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids.
AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids.
// AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids .
func (etu *EquipmentTypeUpdate) AddPortDefinitionIDs(ids ...string) *EquipmentTypeUpdate {
	if etu.port_definitions == nil {
		etu.port_definitions = make(map[string]struct{})
	}
	for i := range ids {
		etu.port_definitions[ids[i]] = struct{}{}
	}
	return etu
}
func ( etu * EquipmentTypeUpdate ) AddPortDefinitionIDs ( ids ... string ) * EquipmentTypeUpdate { if etu . port_definitions == nil { etu . port_definitions = make ( map [ string ] struct { } ) } for i := range ids { etu . port_definitions [ ids [ i ] ] = struct { } { } } return etu }
AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids.
AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids .