func (etuo *EquipmentTypeUpdateOne) AddPortDefinitions(e ...*EquipmentPortDefinition) *EquipmentTypeUpdateOne {
	ids := make([]string, len(e))
	for i := range e {
		ids[i] = e[i].ID
	}
	return etuo.AddPortDefinitionIDs(ids...)
}
// AddPortDefinitions adds the port_definitions edges to EquipmentPortDefinition.
AddPortDefinitions adds the port_definitions edges to EquipmentPortDefinition.
// AddPortDefinitions adds the port_definitions edges to EquipmentPortDefinition .
func (etuo *EquipmentTypeUpdateOne) AddPortDefinitions(e ...*EquipmentPortDefinition) *EquipmentTypeUpdateOne {
	ids := make([]string, len(e))
	for i := range e {
		ids[i] = e[i].ID
	}
	return etuo.AddPortDefinitionIDs(ids...)
}
func ( etuo * EquipmentTypeUpdateOne ) AddPortDefinitions ( e ... * EquipmentPortDefinition ) * EquipmentTypeUpdateOne { ids := make ( [ ] string , len ( e ) ) for i := range e { ids [ i ] = e [ i ] . ID } return etuo . AddPortDefinitionIDs ( ids ... ) }
AddPortDefinitions adds the port_definitions edges to EquipmentPortDefinition.
AddPortDefinitions adds the port_definitions edges to EquipmentPortDefinition .