func (etuo *EquipmentTypeUpdateOne) AddPortDefinitionIDs(ids ...string) *EquipmentTypeUpdateOne {
	if etuo.port_definitions == nil {
		etuo.port_definitions = make(map[string]struct{})
	}
	for i := range ids {
		etuo.port_definitions[ids[i]] = struct{}{}
	}
	return etuo
}
// 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 (etuo *EquipmentTypeUpdateOne) AddPortDefinitionIDs(ids ...string) *EquipmentTypeUpdateOne {
	if etuo.port_definitions == nil {
		etuo.port_definitions = make(map[string]struct{})
	}
	for i := range ids {
		etuo.port_definitions[ids[i]] = struct{}{}
	}
	return etuo
}
func ( etuo * EquipmentTypeUpdateOne ) AddPortDefinitionIDs ( ids ... string ) * EquipmentTypeUpdateOne { if etuo . port_definitions == nil { etuo . port_definitions = make ( map [ string ] struct { } ) } for i := range ids { etuo . port_definitions [ ids [ i ] ] = struct { } { } } return etuo }
AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids.
AddPortDefinitionIDs adds the port_definitions edge to EquipmentPortDefinition by ids .