func (fpuo *FloorPlanUpdateOne) SetLocationID(id string) *FloorPlanUpdateOne {
	if fpuo.location == nil {
		fpuo.location = make(map[string]struct{})
	}
	fpuo.location[id] = struct{}{}
	return fpuo
}
// 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 (fpuo *FloorPlanUpdateOne) SetLocationID(id string) *FloorPlanUpdateOne {
	if fpuo.location == nil {
		fpuo.location = make(map[string]struct{})
	}
	fpuo.location[id] = struct{}{}
	return fpuo
}
func ( fpuo * FloorPlanUpdateOne ) SetLocationID ( id string ) * FloorPlanUpdateOne { if fpuo . location == nil { fpuo . location = make ( map [ string ] struct { } ) } fpuo . location [ id ] = struct { } { } return fpuo }
SetLocationID sets the location edge to Location by id.
SetLocationID sets the location edge to Location by id .