func (ec *EquipmentCreate) AddPorts(e ...*EquipmentPort) *EquipmentCreate {
	ids := make([]string, len(e))
	for i := range e {
		ids[i] = e[i].ID
	}
	return ec.AddPortIDs(ids...)
}
// AddPorts adds the ports edges to EquipmentPort.
AddPorts adds the ports edges to EquipmentPort.
// AddPorts adds the ports edges to EquipmentPort .
func (ec *EquipmentCreate) AddPorts(e ...*EquipmentPort) *EquipmentCreate {
	ids := make([]string, len(e))
	for i := range e {
		ids[i] = e[i].ID
	}
	return ec.AddPortIDs(ids...)
}
func ( ec * EquipmentCreate ) AddPorts ( e ... * EquipmentPort ) * EquipmentCreate { ids := make ( [ ] string , len ( e ) ) for i := range e { ids [ i ] = e [ i ] . ID } return ec . AddPortIDs ( ids ... ) }
AddPorts adds the ports edges to EquipmentPort.
AddPorts adds the ports edges to EquipmentPort .