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