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