func (etuo *EquipmentTypeUpdateOne) SetCategoryID(id string) *EquipmentTypeUpdateOne {
	if etuo.category == nil {
		etuo.category = make(map[string]struct{})
	}
	etuo.category[id] = struct{}{}
	return etuo
}
// SetCategoryID sets the category edge to EquipmentCategory by id.
SetCategoryID sets the category edge to EquipmentCategory by id.
// SetCategoryID sets the category edge to EquipmentCategory by id .
func (etuo *EquipmentTypeUpdateOne) SetCategoryID(id string) *EquipmentTypeUpdateOne {
	if etuo.category == nil {
		etuo.category = make(map[string]struct{})
	}
	etuo.category[id] = struct{}{}
	return etuo
}
func ( etuo * EquipmentTypeUpdateOne ) SetCategoryID ( id string ) * EquipmentTypeUpdateOne { if etuo . category == nil { etuo . category = make ( map [ string ] struct { } ) } etuo . category [ id ] = struct { } { } return etuo }
SetCategoryID sets the category edge to EquipmentCategory by id.
SetCategoryID sets the category edge to EquipmentCategory by id .