func (ec *EquipmentCreate) SetWorkOrderID(id string) *EquipmentCreate {
	if ec.work_order == nil {
		ec.work_order = make(map[string]struct{})
	}
	ec.work_order[id] = struct{}{}
	return ec
}
// SetWorkOrderID sets the work_order edge to WorkOrder by id.
SetWorkOrderID sets the work_order edge to WorkOrder by id.
// SetWorkOrderID sets the work_order edge to WorkOrder by id .
func (ec *EquipmentCreate) SetWorkOrderID(id string) *EquipmentCreate {
	if ec.work_order == nil {
		ec.work_order = make(map[string]struct{})
	}
	ec.work_order[id] = struct{}{}
	return ec
}
func ( ec * EquipmentCreate ) SetWorkOrderID ( id string ) * EquipmentCreate { if ec . work_order == nil { ec . work_order = make ( map [ string ] struct { } ) } ec . work_order [ id ] = struct { } { } return ec }
SetWorkOrderID sets the work_order edge to WorkOrder by id.
SetWorkOrderID sets the work_order edge to WorkOrder by id .