func (etu *EquipmentTypeUpdate) SetCategoryID(id string) *EquipmentTypeUpdate {
	if etu.category == nil {
		etu.category = make(map[string]struct{})
	}
	etu.category[id] = struct{}{}
	return etu
}
// 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 (etu *EquipmentTypeUpdate) SetCategoryID(id string) *EquipmentTypeUpdate {
	if etu.category == nil {
		etu.category = make(map[string]struct{})
	}
	etu.category[id] = struct{}{}
	return etu
}
func ( etu * EquipmentTypeUpdate ) SetCategoryID ( id string ) * EquipmentTypeUpdate { if etu . category == nil { etu . category = make ( map [ string ] struct { } ) } etu . category [ id ] = struct { } { } return etu }
SetCategoryID sets the category edge to EquipmentCategory by id.
SetCategoryID sets the category edge to EquipmentCategory by id .