// Code generated by BobGen psql v0.42.5. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.

package factory

import (
	"context"
	"encoding/json"
	"testing"
	"time"

	"github.com/Gleipnir-Technology/bob"
	"github.com/Gleipnir-Technology/bob/types"
	models "github.com/Gleipnir-Technology/nidus-sync/db/models"
	"github.com/aarondl/opt/null"
	"github.com/aarondl/opt/omit"
	"github.com/aarondl/opt/omitnull"
	"github.com/google/uuid"
	"github.com/jaswdr/faker/v2"
)

type FieldseekerLinelocationMod interface {
	Apply(context.Context, *FieldseekerLinelocationTemplate)
}

type FieldseekerLinelocationModFunc func(context.Context, *FieldseekerLinelocationTemplate)

func (f FieldseekerLinelocationModFunc) Apply(ctx context.Context, n *FieldseekerLinelocationTemplate) {
	f(ctx, n)
}

type FieldseekerLinelocationModSlice []FieldseekerLinelocationMod

func (mods FieldseekerLinelocationModSlice) Apply(ctx context.Context, n *FieldseekerLinelocationTemplate) {
	for _, f := range mods {
		f.Apply(ctx, n)
	}
}

// FieldseekerLinelocationTemplate is an object representing the database table.
// all columns are optional and should be set by mods
type FieldseekerLinelocationTemplate struct {
	Objectid                func() int64
	Name                    func() null.Val[string]
	Zone                    func() null.Val[string]
	Habitat                 func() null.Val[string]
	Priority                func() null.Val[string]
	Usetype                 func() null.Val[string]
	Active                  func() null.Val[int16]
	Description             func() null.Val[string]
	Accessdesc              func() null.Val[string]
	Comments                func() null.Val[string]
	Symbology               func() null.Val[string]
	Externalid              func() null.Val[string]
	Acres                   func() null.Val[float64]
	Nextactiondatescheduled func() null.Val[time.Time]
	Larvinspectinterval     func() null.Val[int16]
	LengthFT                func() null.Val[float64]
	WidthFT                 func() null.Val[float64]
	Zone2                   func() null.Val[string]
	Locationnumber          func() null.Val[int32]
	Globalid                func() uuid.UUID
	CreatedUser             func() null.Val[string]
	CreatedDate             func() null.Val[time.Time]
	LastEditedUser          func() null.Val[string]
	LastEditedDate          func() null.Val[time.Time]
	Lastinspectdate         func() null.Val[time.Time]
	Lastinspectbreeding     func() null.Val[string]
	Lastinspectavglarvae    func() null.Val[float64]
	Lastinspectavgpupae     func() null.Val[float64]
	Lastinspectlstages      func() null.Val[string]
	Lastinspectactiontaken  func() null.Val[string]
	Lastinspectfieldspecies func() null.Val[string]
	Lasttreatdate           func() null.Val[time.Time]
	Lasttreatproduct        func() null.Val[string]
	Lasttreatqty            func() null.Val[float64]
	Lasttreatqtyunit        func() null.Val[string]
	Hectares                func() null.Val[float64]
	Lastinspectactivity     func() null.Val[string]
	Lasttreatactivity       func() null.Val[string]
	LengthMeters            func() null.Val[float64]
	WidthMeters             func() null.Val[float64]
	Lastinspectconditions   func() null.Val[string]
	Waterorigin             func() null.Val[string]
	Creationdate            func() null.Val[time.Time]
	Creator                 func() null.Val[string]
	Editdate                func() null.Val[time.Time]
	Editor                  func() null.Val[string]
	Jurisdiction            func() null.Val[string]
	ShapeLength             func() null.Val[float64]
	Geometry                func() types.JSON[json.RawMessage]
	Geospatial              func() null.Val[string]
	Version                 func() int32
	OrganizationID          func() int32

	r fieldseekerLinelocationR
	f *Factory

	alreadyPersisted bool
}

type fieldseekerLinelocationR struct {
	Organization *fieldseekerLinelocationROrganizationR
}

type fieldseekerLinelocationROrganizationR struct {
	o *OrganizationTemplate
}

// Apply mods to the FieldseekerLinelocationTemplate
func (o *FieldseekerLinelocationTemplate) Apply(ctx context.Context, mods ...FieldseekerLinelocationMod) {
	for _, mod := range mods {
		mod.Apply(ctx, o)
	}
}

// setModelRels creates and sets the relationships on *models.FieldseekerLinelocation
// according to the relationships in the template. Nothing is inserted into the db
func (t FieldseekerLinelocationTemplate) setModelRels(o *models.FieldseekerLinelocation) {
	if t.r.Organization != nil {
		rel := t.r.Organization.o.Build()
		rel.R.Linelocations = append(rel.R.Linelocations, o)
		o.OrganizationID = rel.ID // h2
		o.R.Organization = rel
	}
}

// BuildSetter returns an *models.FieldseekerLinelocationSetter
// this does nothing with the relationship templates
func (o FieldseekerLinelocationTemplate) BuildSetter() *models.FieldseekerLinelocationSetter {
	m := &models.FieldseekerLinelocationSetter{}

	if o.Objectid != nil {
		val := o.Objectid()
		m.Objectid = omit.From(val)
	}
	if o.Name != nil {
		val := o.Name()
		m.Name = omitnull.FromNull(val)
	}
	if o.Zone != nil {
		val := o.Zone()
		m.Zone = omitnull.FromNull(val)
	}
	if o.Habitat != nil {
		val := o.Habitat()
		m.Habitat = omitnull.FromNull(val)
	}
	if o.Priority != nil {
		val := o.Priority()
		m.Priority = omitnull.FromNull(val)
	}
	if o.Usetype != nil {
		val := o.Usetype()
		m.Usetype = omitnull.FromNull(val)
	}
	if o.Active != nil {
		val := o.Active()
		m.Active = omitnull.FromNull(val)
	}
	if o.Description != nil {
		val := o.Description()
		m.Description = omitnull.FromNull(val)
	}
	if o.Accessdesc != nil {
		val := o.Accessdesc()
		m.Accessdesc = omitnull.FromNull(val)
	}
	if o.Comments != nil {
		val := o.Comments()
		m.Comments = omitnull.FromNull(val)
	}
	if o.Symbology != nil {
		val := o.Symbology()
		m.Symbology = omitnull.FromNull(val)
	}
	if o.Externalid != nil {
		val := o.Externalid()
		m.Externalid = omitnull.FromNull(val)
	}
	if o.Acres != nil {
		val := o.Acres()
		m.Acres = omitnull.FromNull(val)
	}
	if o.Nextactiondatescheduled != nil {
		val := o.Nextactiondatescheduled()
		m.Nextactiondatescheduled = omitnull.FromNull(val)
	}
	if o.Larvinspectinterval != nil {
		val := o.Larvinspectinterval()
		m.Larvinspectinterval = omitnull.FromNull(val)
	}
	if o.LengthFT != nil {
		val := o.LengthFT()
		m.LengthFT = omitnull.FromNull(val)
	}
	if o.WidthFT != nil {
		val := o.WidthFT()
		m.WidthFT = omitnull.FromNull(val)
	}
	if o.Zone2 != nil {
		val := o.Zone2()
		m.Zone2 = omitnull.FromNull(val)
	}
	if o.Locationnumber != nil {
		val := o.Locationnumber()
		m.Locationnumber = omitnull.FromNull(val)
	}
	if o.Globalid != nil {
		val := o.Globalid()
		m.Globalid = omit.From(val)
	}
	if o.CreatedUser != nil {
		val := o.CreatedUser()
		m.CreatedUser = omitnull.FromNull(val)
	}
	if o.CreatedDate != nil {
		val := o.CreatedDate()
		m.CreatedDate = omitnull.FromNull(val)
	}
	if o.LastEditedUser != nil {
		val := o.LastEditedUser()
		m.LastEditedUser = omitnull.FromNull(val)
	}
	if o.LastEditedDate != nil {
		val := o.LastEditedDate()
		m.LastEditedDate = omitnull.FromNull(val)
	}
	if o.Lastinspectdate != nil {
		val := o.Lastinspectdate()
		m.Lastinspectdate = omitnull.FromNull(val)
	}
	if o.Lastinspectbreeding != nil {
		val := o.Lastinspectbreeding()
		m.Lastinspectbreeding = omitnull.FromNull(val)
	}
	if o.Lastinspectavglarvae != nil {
		val := o.Lastinspectavglarvae()
		m.Lastinspectavglarvae = omitnull.FromNull(val)
	}
	if o.Lastinspectavgpupae != nil {
		val := o.Lastinspectavgpupae()
		m.Lastinspectavgpupae = omitnull.FromNull(val)
	}
	if o.Lastinspectlstages != nil {
		val := o.Lastinspectlstages()
		m.Lastinspectlstages = omitnull.FromNull(val)
	}
	if o.Lastinspectactiontaken != nil {
		val := o.Lastinspectactiontaken()
		m.Lastinspectactiontaken = omitnull.FromNull(val)
	}
	if o.Lastinspectfieldspecies != nil {
		val := o.Lastinspectfieldspecies()
		m.Lastinspectfieldspecies = omitnull.FromNull(val)
	}
	if o.Lasttreatdate != nil {
		val := o.Lasttreatdate()
		m.Lasttreatdate = omitnull.FromNull(val)
	}
	if o.Lasttreatproduct != nil {
		val := o.Lasttreatproduct()
		m.Lasttreatproduct = omitnull.FromNull(val)
	}
	if o.Lasttreatqty != nil {
		val := o.Lasttreatqty()
		m.Lasttreatqty = omitnull.FromNull(val)
	}
	if o.Lasttreatqtyunit != nil {
		val := o.Lasttreatqtyunit()
		m.Lasttreatqtyunit = omitnull.FromNull(val)
	}
	if o.Hectares != nil {
		val := o.Hectares()
		m.Hectares = omitnull.FromNull(val)
	}
	if o.Lastinspectactivity != nil {
		val := o.Lastinspectactivity()
		m.Lastinspectactivity = omitnull.FromNull(val)
	}
	if o.Lasttreatactivity != nil {
		val := o.Lasttreatactivity()
		m.Lasttreatactivity = omitnull.FromNull(val)
	}
	if o.LengthMeters != nil {
		val := o.LengthMeters()
		m.LengthMeters = omitnull.FromNull(val)
	}
	if o.WidthMeters != nil {
		val := o.WidthMeters()
		m.WidthMeters = omitnull.FromNull(val)
	}
	if o.Lastinspectconditions != nil {
		val := o.Lastinspectconditions()
		m.Lastinspectconditions = omitnull.FromNull(val)
	}
	if o.Waterorigin != nil {
		val := o.Waterorigin()
		m.Waterorigin = omitnull.FromNull(val)
	}
	if o.Creationdate != nil {
		val := o.Creationdate()
		m.Creationdate = omitnull.FromNull(val)
	}
	if o.Creator != nil {
		val := o.Creator()
		m.Creator = omitnull.FromNull(val)
	}
	if o.Editdate != nil {
		val := o.Editdate()
		m.Editdate = omitnull.FromNull(val)
	}
	if o.Editor != nil {
		val := o.Editor()
		m.Editor = omitnull.FromNull(val)
	}
	if o.Jurisdiction != nil {
		val := o.Jurisdiction()
		m.Jurisdiction = omitnull.FromNull(val)
	}
	if o.ShapeLength != nil {
		val := o.ShapeLength()
		m.ShapeLength = omitnull.FromNull(val)
	}
	if o.Geometry != nil {
		val := o.Geometry()
		m.Geometry = omit.From(val)
	}
	if o.Geospatial != nil {
		val := o.Geospatial()
		m.Geospatial = omitnull.FromNull(val)
	}
	if o.Version != nil {
		val := o.Version()
		m.Version = omit.From(val)
	}
	if o.OrganizationID != nil {
		val := o.OrganizationID()
		m.OrganizationID = omit.From(val)
	}

	return m
}

// BuildManySetter returns an []*models.FieldseekerLinelocationSetter
// this does nothing with the relationship templates
func (o FieldseekerLinelocationTemplate) BuildManySetter(number int) []*models.FieldseekerLinelocationSetter {
	m := make([]*models.FieldseekerLinelocationSetter, number)

	for i := range m {
		m[i] = o.BuildSetter()
	}

	return m
}

// Build returns an *models.FieldseekerLinelocation
// Related objects are also created and placed in the .R field
// NOTE: Objects are not inserted into the database. Use FieldseekerLinelocationTemplate.Create
func (o FieldseekerLinelocationTemplate) Build() *models.FieldseekerLinelocation {
	m := &models.FieldseekerLinelocation{}

	if o.Objectid != nil {
		m.Objectid = o.Objectid()
	}
	if o.Name != nil {
		m.Name = o.Name()
	}
	if o.Zone != nil {
		m.Zone = o.Zone()
	}
	if o.Habitat != nil {
		m.Habitat = o.Habitat()
	}
	if o.Priority != nil {
		m.Priority = o.Priority()
	}
	if o.Usetype != nil {
		m.Usetype = o.Usetype()
	}
	if o.Active != nil {
		m.Active = o.Active()
	}
	if o.Description != nil {
		m.Description = o.Description()
	}
	if o.Accessdesc != nil {
		m.Accessdesc = o.Accessdesc()
	}
	if o.Comments != nil {
		m.Comments = o.Comments()
	}
	if o.Symbology != nil {
		m.Symbology = o.Symbology()
	}
	if o.Externalid != nil {
		m.Externalid = o.Externalid()
	}
	if o.Acres != nil {
		m.Acres = o.Acres()
	}
	if o.Nextactiondatescheduled != nil {
		m.Nextactiondatescheduled = o.Nextactiondatescheduled()
	}
	if o.Larvinspectinterval != nil {
		m.Larvinspectinterval = o.Larvinspectinterval()
	}
	if o.LengthFT != nil {
		m.LengthFT = o.LengthFT()
	}
	if o.WidthFT != nil {
		m.WidthFT = o.WidthFT()
	}
	if o.Zone2 != nil {
		m.Zone2 = o.Zone2()
	}
	if o.Locationnumber != nil {
		m.Locationnumber = o.Locationnumber()
	}
	if o.Globalid != nil {
		m.Globalid = o.Globalid()
	}
	if o.CreatedUser != nil {
		m.CreatedUser = o.CreatedUser()
	}
	if o.CreatedDate != nil {
		m.CreatedDate = o.CreatedDate()
	}
	if o.LastEditedUser != nil {
		m.LastEditedUser = o.LastEditedUser()
	}
	if o.LastEditedDate != nil {
		m.LastEditedDate = o.LastEditedDate()
	}
	if o.Lastinspectdate != nil {
		m.Lastinspectdate = o.Lastinspectdate()
	}
	if o.Lastinspectbreeding != nil {
		m.Lastinspectbreeding = o.Lastinspectbreeding()
	}
	if o.Lastinspectavglarvae != nil {
		m.Lastinspectavglarvae = o.Lastinspectavglarvae()
	}
	if o.Lastinspectavgpupae != nil {
		m.Lastinspectavgpupae = o.Lastinspectavgpupae()
	}
	if o.Lastinspectlstages != nil {
		m.Lastinspectlstages = o.Lastinspectlstages()
	}
	if o.Lastinspectactiontaken != nil {
		m.Lastinspectactiontaken = o.Lastinspectactiontaken()
	}
	if o.Lastinspectfieldspecies != nil {
		m.Lastinspectfieldspecies = o.Lastinspectfieldspecies()
	}
	if o.Lasttreatdate != nil {
		m.Lasttreatdate = o.Lasttreatdate()
	}
	if o.Lasttreatproduct != nil {
		m.Lasttreatproduct = o.Lasttreatproduct()
	}
	if o.Lasttreatqty != nil {
		m.Lasttreatqty = o.Lasttreatqty()
	}
	if o.Lasttreatqtyunit != nil {
		m.Lasttreatqtyunit = o.Lasttreatqtyunit()
	}
	if o.Hectares != nil {
		m.Hectares = o.Hectares()
	}
	if o.Lastinspectactivity != nil {
		m.Lastinspectactivity = o.Lastinspectactivity()
	}
	if o.Lasttreatactivity != nil {
		m.Lasttreatactivity = o.Lasttreatactivity()
	}
	if o.LengthMeters != nil {
		m.LengthMeters = o.LengthMeters()
	}
	if o.WidthMeters != nil {
		m.WidthMeters = o.WidthMeters()
	}
	if o.Lastinspectconditions != nil {
		m.Lastinspectconditions = o.Lastinspectconditions()
	}
	if o.Waterorigin != nil {
		m.Waterorigin = o.Waterorigin()
	}
	if o.Creationdate != nil {
		m.Creationdate = o.Creationdate()
	}
	if o.Creator != nil {
		m.Creator = o.Creator()
	}
	if o.Editdate != nil {
		m.Editdate = o.Editdate()
	}
	if o.Editor != nil {
		m.Editor = o.Editor()
	}
	if o.Jurisdiction != nil {
		m.Jurisdiction = o.Jurisdiction()
	}
	if o.ShapeLength != nil {
		m.ShapeLength = o.ShapeLength()
	}
	if o.Geometry != nil {
		m.Geometry = o.Geometry()
	}
	if o.Geospatial != nil {
		m.Geospatial = o.Geospatial()
	}
	if o.Version != nil {
		m.Version = o.Version()
	}
	if o.OrganizationID != nil {
		m.OrganizationID = o.OrganizationID()
	}

	o.setModelRels(m)

	return m
}

// BuildMany returns an models.FieldseekerLinelocationSlice
// Related objects are also created and placed in the .R field
// NOTE: Objects are not inserted into the database. Use FieldseekerLinelocationTemplate.CreateMany
func (o FieldseekerLinelocationTemplate) BuildMany(number int) models.FieldseekerLinelocationSlice {
	m := make(models.FieldseekerLinelocationSlice, number)

	for i := range m {
		m[i] = o.Build()
	}

	return m
}

func ensureCreatableFieldseekerLinelocation(m *models.FieldseekerLinelocationSetter) {
	if !(m.Objectid.IsValue()) {
		val := random_int64(nil)
		m.Objectid = omit.From(val)
	}
	if !(m.Globalid.IsValue()) {
		val := random_uuid_UUID(nil)
		m.Globalid = omit.From(val)
	}
	if !(m.Geometry.IsValue()) {
		val := random_types_JSON_json_RawMessage_(nil)
		m.Geometry = omit.From(val)
	}
	if !(m.OrganizationID.IsValue()) {
		val := random_int32(nil)
		m.OrganizationID = omit.From(val)
	}
}

// insertOptRels creates and inserts any optional the relationships on *models.FieldseekerLinelocation
// according to the relationships in the template.
// any required relationship should have already exist on the model
func (o *FieldseekerLinelocationTemplate) insertOptRels(ctx context.Context, exec bob.Executor, m *models.FieldseekerLinelocation) error {
	var err error

	return err
}

// Create builds a fieldseekerLinelocation and inserts it into the database
// Relations objects are also inserted and placed in the .R field
func (o *FieldseekerLinelocationTemplate) Create(ctx context.Context, exec bob.Executor) (*models.FieldseekerLinelocation, error) {
	var err error
	opt := o.BuildSetter()
	ensureCreatableFieldseekerLinelocation(opt)

	if o.r.Organization == nil {
		FieldseekerLinelocationMods.WithNewOrganization().Apply(ctx, o)
	}

	var rel0 *models.Organization

	if o.r.Organization.o.alreadyPersisted {
		rel0 = o.r.Organization.o.Build()
	} else {
		rel0, err = o.r.Organization.o.Create(ctx, exec)
		if err != nil {
			return nil, err
		}
	}

	opt.OrganizationID = omit.From(rel0.ID)

	m, err := models.FieldseekerLinelocations.Insert(opt).One(ctx, exec)
	if err != nil {
		return nil, err
	}

	m.R.Organization = rel0

	if err := o.insertOptRels(ctx, exec, m); err != nil {
		return nil, err
	}
	return m, err
}

// MustCreate builds a fieldseekerLinelocation and inserts it into the database
// Relations objects are also inserted and placed in the .R field
// panics if an error occurs
func (o *FieldseekerLinelocationTemplate) MustCreate(ctx context.Context, exec bob.Executor) *models.FieldseekerLinelocation {
	m, err := o.Create(ctx, exec)
	if err != nil {
		panic(err)
	}
	return m
}

// CreateOrFail builds a fieldseekerLinelocation and inserts it into the database
// Relations objects are also inserted and placed in the .R field
// It calls `tb.Fatal(err)` on the test/benchmark if an error occurs
func (o *FieldseekerLinelocationTemplate) CreateOrFail(ctx context.Context, tb testing.TB, exec bob.Executor) *models.FieldseekerLinelocation {
	tb.Helper()
	m, err := o.Create(ctx, exec)
	if err != nil {
		tb.Fatal(err)
		return nil
	}
	return m
}

// CreateMany builds multiple fieldseekerLinelocations and inserts them into the database
// Relations objects are also inserted and placed in the .R field
func (o FieldseekerLinelocationTemplate) CreateMany(ctx context.Context, exec bob.Executor, number int) (models.FieldseekerLinelocationSlice, error) {
	var err error
	m := make(models.FieldseekerLinelocationSlice, number)

	for i := range m {
		m[i], err = o.Create(ctx, exec)
		if err != nil {
			return nil, err
		}
	}

	return m, nil
}

// MustCreateMany builds multiple fieldseekerLinelocations and inserts them into the database
// Relations objects are also inserted and placed in the .R field
// panics if an error occurs
func (o FieldseekerLinelocationTemplate) MustCreateMany(ctx context.Context, exec bob.Executor, number int) models.FieldseekerLinelocationSlice {
	m, err := o.CreateMany(ctx, exec, number)
	if err != nil {
		panic(err)
	}
	return m
}

// CreateManyOrFail builds multiple fieldseekerLinelocations and inserts them into the database
// Relations objects are also inserted and placed in the .R field
// It calls `tb.Fatal(err)` on the test/benchmark if an error occurs
func (o FieldseekerLinelocationTemplate) CreateManyOrFail(ctx context.Context, tb testing.TB, exec bob.Executor, number int) models.FieldseekerLinelocationSlice {
	tb.Helper()
	m, err := o.CreateMany(ctx, exec, number)
	if err != nil {
		tb.Fatal(err)
		return nil
	}
	return m
}

// FieldseekerLinelocation has methods that act as mods for the FieldseekerLinelocationTemplate
var FieldseekerLinelocationMods fieldseekerLinelocationMods

type fieldseekerLinelocationMods struct{}

func (m fieldseekerLinelocationMods) RandomizeAllColumns(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModSlice{
		FieldseekerLinelocationMods.RandomObjectid(f),
		FieldseekerLinelocationMods.RandomName(f),
		FieldseekerLinelocationMods.RandomZone(f),
		FieldseekerLinelocationMods.RandomHabitat(f),
		FieldseekerLinelocationMods.RandomPriority(f),
		FieldseekerLinelocationMods.RandomUsetype(f),
		FieldseekerLinelocationMods.RandomActive(f),
		FieldseekerLinelocationMods.RandomDescription(f),
		FieldseekerLinelocationMods.RandomAccessdesc(f),
		FieldseekerLinelocationMods.RandomComments(f),
		FieldseekerLinelocationMods.RandomSymbology(f),
		FieldseekerLinelocationMods.RandomExternalid(f),
		FieldseekerLinelocationMods.RandomAcres(f),
		FieldseekerLinelocationMods.RandomNextactiondatescheduled(f),
		FieldseekerLinelocationMods.RandomLarvinspectinterval(f),
		FieldseekerLinelocationMods.RandomLengthFT(f),
		FieldseekerLinelocationMods.RandomWidthFT(f),
		FieldseekerLinelocationMods.RandomZone2(f),
		FieldseekerLinelocationMods.RandomLocationnumber(f),
		FieldseekerLinelocationMods.RandomGlobalid(f),
		FieldseekerLinelocationMods.RandomCreatedUser(f),
		FieldseekerLinelocationMods.RandomCreatedDate(f),
		FieldseekerLinelocationMods.RandomLastEditedUser(f),
		FieldseekerLinelocationMods.RandomLastEditedDate(f),
		FieldseekerLinelocationMods.RandomLastinspectdate(f),
		FieldseekerLinelocationMods.RandomLastinspectbreeding(f),
		FieldseekerLinelocationMods.RandomLastinspectavglarvae(f),
		FieldseekerLinelocationMods.RandomLastinspectavgpupae(f),
		FieldseekerLinelocationMods.RandomLastinspectlstages(f),
		FieldseekerLinelocationMods.RandomLastinspectactiontaken(f),
		FieldseekerLinelocationMods.RandomLastinspectfieldspecies(f),
		FieldseekerLinelocationMods.RandomLasttreatdate(f),
		FieldseekerLinelocationMods.RandomLasttreatproduct(f),
		FieldseekerLinelocationMods.RandomLasttreatqty(f),
		FieldseekerLinelocationMods.RandomLasttreatqtyunit(f),
		FieldseekerLinelocationMods.RandomHectares(f),
		FieldseekerLinelocationMods.RandomLastinspectactivity(f),
		FieldseekerLinelocationMods.RandomLasttreatactivity(f),
		FieldseekerLinelocationMods.RandomLengthMeters(f),
		FieldseekerLinelocationMods.RandomWidthMeters(f),
		FieldseekerLinelocationMods.RandomLastinspectconditions(f),
		FieldseekerLinelocationMods.RandomWaterorigin(f),
		FieldseekerLinelocationMods.RandomCreationdate(f),
		FieldseekerLinelocationMods.RandomCreator(f),
		FieldseekerLinelocationMods.RandomEditdate(f),
		FieldseekerLinelocationMods.RandomEditor(f),
		FieldseekerLinelocationMods.RandomJurisdiction(f),
		FieldseekerLinelocationMods.RandomShapeLength(f),
		FieldseekerLinelocationMods.RandomGeometry(f),
		FieldseekerLinelocationMods.RandomGeospatial(f),
		FieldseekerLinelocationMods.RandomVersion(f),
		FieldseekerLinelocationMods.RandomOrganizationID(f),
	}
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Objectid(val int64) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Objectid = func() int64 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) ObjectidFunc(f func() int64) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Objectid = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetObjectid() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Objectid = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
func (m fieldseekerLinelocationMods) RandomObjectid(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Objectid = func() int64 {
			return random_int64(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Name(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Name = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) NameFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Name = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetName() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Name = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomName(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Name = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomNameNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Name = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Zone(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) ZoneFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetZone() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomZone(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomZoneNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Habitat(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Habitat = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) HabitatFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Habitat = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetHabitat() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Habitat = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomHabitat(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Habitat = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomHabitatNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Habitat = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Priority(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Priority = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) PriorityFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Priority = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetPriority() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Priority = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomPriority(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Priority = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomPriorityNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Priority = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Usetype(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Usetype = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) UsetypeFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Usetype = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetUsetype() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Usetype = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomUsetype(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Usetype = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomUsetypeNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Usetype = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Active(val null.Val[int16]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Active = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) ActiveFunc(f func() null.Val[int16]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Active = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetActive() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Active = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomActive(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Active = func() null.Val[int16] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int16(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomActiveNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Active = func() null.Val[int16] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int16(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Description(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Description = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) DescriptionFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Description = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetDescription() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Description = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomDescription(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Description = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomDescriptionNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Description = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Accessdesc(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Accessdesc = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) AccessdescFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Accessdesc = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetAccessdesc() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Accessdesc = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomAccessdesc(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Accessdesc = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomAccessdescNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Accessdesc = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Comments(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Comments = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) CommentsFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Comments = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetComments() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Comments = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomComments(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Comments = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomCommentsNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Comments = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Symbology(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Symbology = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) SymbologyFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Symbology = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetSymbology() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Symbology = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomSymbology(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Symbology = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "10")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomSymbologyNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Symbology = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "10")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Externalid(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Externalid = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) ExternalidFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Externalid = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetExternalid() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Externalid = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomExternalid(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Externalid = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomExternalidNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Externalid = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Acres(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Acres = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) AcresFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Acres = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetAcres() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Acres = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomAcres(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Acres = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomAcresNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Acres = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Nextactiondatescheduled(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Nextactiondatescheduled = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) NextactiondatescheduledFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Nextactiondatescheduled = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetNextactiondatescheduled() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Nextactiondatescheduled = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomNextactiondatescheduled(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Nextactiondatescheduled = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomNextactiondatescheduledNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Nextactiondatescheduled = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Larvinspectinterval(val null.Val[int16]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Larvinspectinterval = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LarvinspectintervalFunc(f func() null.Val[int16]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Larvinspectinterval = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLarvinspectinterval() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Larvinspectinterval = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLarvinspectinterval(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Larvinspectinterval = func() null.Val[int16] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int16(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLarvinspectintervalNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Larvinspectinterval = func() null.Val[int16] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int16(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) LengthFT(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthFT = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LengthFTFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthFT = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLengthFT() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthFT = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLengthFT(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthFT = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLengthFTNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthFT = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) WidthFT(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthFT = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) WidthFTFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthFT = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetWidthFT() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthFT = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomWidthFT(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthFT = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomWidthFTNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthFT = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Zone2(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone2 = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) Zone2Func(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone2 = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetZone2() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone2 = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomZone2(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone2 = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomZone2NotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Zone2 = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Locationnumber(val null.Val[int32]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Locationnumber = func() null.Val[int32] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LocationnumberFunc(f func() null.Val[int32]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Locationnumber = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLocationnumber() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Locationnumber = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLocationnumber(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Locationnumber = func() null.Val[int32] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int32(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLocationnumberNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Locationnumber = func() null.Val[int32] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_int32(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Globalid(val uuid.UUID) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Globalid = func() uuid.UUID { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Globalid = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetGlobalid() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Globalid = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
func (m fieldseekerLinelocationMods) RandomGlobalid(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Globalid = func() uuid.UUID {
			return random_uuid_UUID(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) CreatedUser(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedUser = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) CreatedUserFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedUser = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetCreatedUser() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedUser = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomCreatedUser(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedUser = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "255")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomCreatedUserNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedUser = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "255")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) CreatedDate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedDate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) CreatedDateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedDate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetCreatedDate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedDate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomCreatedDate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedDate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomCreatedDateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.CreatedDate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) LastEditedUser(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedUser = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastEditedUserFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedUser = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastEditedUser() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedUser = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastEditedUser(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedUser = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "255")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastEditedUserNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedUser = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "255")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) LastEditedDate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedDate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastEditedDateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedDate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastEditedDate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedDate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastEditedDate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedDate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastEditedDateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LastEditedDate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectdate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectdateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectdate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectdate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectdate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectdate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectdateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectbreeding(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectbreeding = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectbreedingFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectbreeding = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectbreeding() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectbreeding = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectbreeding(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectbreeding = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectbreedingNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectbreeding = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectavglarvae(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavglarvae = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectavglarvaeFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavglarvae = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectavglarvae() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavglarvae = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectavglarvae(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavglarvae = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectavglarvaeNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavglarvae = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectavgpupae(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavgpupae = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectavgpupaeFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavgpupae = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectavgpupae() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavgpupae = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectavgpupae(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavgpupae = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectavgpupaeNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectavgpupae = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectlstages(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectlstages = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectlstagesFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectlstages = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectlstages() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectlstages = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectlstages(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectlstages = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectlstagesNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectlstages = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectactiontaken(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactiontaken = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectactiontakenFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactiontaken = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectactiontaken() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactiontaken = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectactiontaken(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactiontaken = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectactiontakenNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactiontaken = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectfieldspecies(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectfieldspecies = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectfieldspeciesFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectfieldspecies = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectfieldspecies() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectfieldspecies = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectfieldspecies(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectfieldspecies = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectfieldspeciesNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectfieldspecies = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lasttreatdate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LasttreatdateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatdate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLasttreatdate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatdate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLasttreatdate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLasttreatdateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lasttreatproduct(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatproduct = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LasttreatproductFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatproduct = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLasttreatproduct() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatproduct = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLasttreatproduct(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatproduct = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLasttreatproductNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatproduct = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lasttreatqty(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqty = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LasttreatqtyFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqty = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLasttreatqty() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqty = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLasttreatqty(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqty = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLasttreatqtyNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqty = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lasttreatqtyunit(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqtyunit = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LasttreatqtyunitFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqtyunit = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLasttreatqtyunit() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqtyunit = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLasttreatqtyunit(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqtyunit = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "10")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLasttreatqtyunitNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatqtyunit = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "10")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Hectares(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Hectares = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) HectaresFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Hectares = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetHectares() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Hectares = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomHectares(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Hectares = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomHectaresNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Hectares = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectactivity(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactivity = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectactivityFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactivity = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectactivity() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactivity = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectactivity(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactivity = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectactivityNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectactivity = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lasttreatactivity(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatactivity = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LasttreatactivityFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatactivity = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLasttreatactivity() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatactivity = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLasttreatactivity(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatactivity = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLasttreatactivityNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lasttreatactivity = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) LengthMeters(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthMeters = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LengthMetersFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthMeters = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLengthMeters() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthMeters = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLengthMeters(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthMeters = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLengthMetersNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.LengthMeters = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) WidthMeters(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthMeters = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) WidthMetersFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthMeters = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetWidthMeters() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthMeters = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomWidthMeters(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthMeters = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomWidthMetersNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.WidthMeters = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Lastinspectconditions(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectconditions = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) LastinspectconditionsFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectconditions = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetLastinspectconditions() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectconditions = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomLastinspectconditions(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectconditions = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomLastinspectconditionsNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Lastinspectconditions = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "250")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Waterorigin(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Waterorigin = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) WateroriginFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Waterorigin = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetWaterorigin() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Waterorigin = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomWaterorigin(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Waterorigin = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomWateroriginNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Waterorigin = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "50")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Creationdate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creationdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) CreationdateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creationdate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetCreationdate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creationdate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomCreationdate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creationdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomCreationdateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creationdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Creator(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creator = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) CreatorFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creator = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetCreator() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creator = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomCreator(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creator = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "128")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomCreatorNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Creator = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "128")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Editdate(val null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) EditdateFunc(f func() null.Val[time.Time]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editdate = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetEditdate() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editdate = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomEditdate(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomEditdateNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editdate = func() null.Val[time.Time] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_time_Time(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Editor(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editor = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) EditorFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editor = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetEditor() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editor = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomEditor(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editor = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "128")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomEditorNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Editor = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "128")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Jurisdiction(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Jurisdiction = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) JurisdictionFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Jurisdiction = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetJurisdiction() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Jurisdiction = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomJurisdiction(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Jurisdiction = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomJurisdictionNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Jurisdiction = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f, "25")
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) ShapeLength(val null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.ShapeLength = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) ShapeLengthFunc(f func() null.Val[float64]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.ShapeLength = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetShapeLength() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.ShapeLength = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomShapeLength(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.ShapeLength = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomShapeLengthNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.ShapeLength = func() null.Val[float64] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_float64(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Geometry(val types.JSON[json.RawMessage]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geometry = func() types.JSON[json.RawMessage] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) GeometryFunc(f func() types.JSON[json.RawMessage]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geometry = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetGeometry() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geometry = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
func (m fieldseekerLinelocationMods) RandomGeometry(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geometry = func() types.JSON[json.RawMessage] {
			return random_types_JSON_json_RawMessage_(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Geospatial(val null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geospatial = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) GeospatialFunc(f func() null.Val[string]) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geospatial = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetGeospatial() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geospatial = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is sometimes null
func (m fieldseekerLinelocationMods) RandomGeospatial(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geospatial = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f)
			return null.From(val)
		}
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
// The generated value is never null
func (m fieldseekerLinelocationMods) RandomGeospatialNotNull(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Geospatial = func() null.Val[string] {
			if f == nil {
				f = &defaultFaker
			}

			val := random_string(f)
			return null.From(val)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) Version(val int32) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Version = func() int32 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) VersionFunc(f func() int32) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Version = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetVersion() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Version = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
func (m fieldseekerLinelocationMods) RandomVersion(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.Version = func() int32 {
			return random_int32(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerLinelocationMods) OrganizationID(val int32) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.OrganizationID = func() int32 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerLinelocationMods) OrganizationIDFunc(f func() int32) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.OrganizationID = f
	})
}

// Clear any values for the column
func (m fieldseekerLinelocationMods) UnsetOrganizationID() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.OrganizationID = nil
	})
}

// Generates a random value for the column using the given faker
// if faker is nil, a default faker is used
func (m fieldseekerLinelocationMods) RandomOrganizationID(f *faker.Faker) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) {
		o.OrganizationID = func() int32 {
			return random_int32(f)
		}
	})
}

func (m fieldseekerLinelocationMods) WithParentsCascading() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(ctx context.Context, o *FieldseekerLinelocationTemplate) {
		if isDone, _ := fieldseekerLinelocationWithParentsCascadingCtx.Value(ctx); isDone {
			return
		}
		ctx = fieldseekerLinelocationWithParentsCascadingCtx.WithValue(ctx, true)
		{

			related := o.f.NewOrganizationWithContext(ctx, OrganizationMods.WithParentsCascading())
			m.WithOrganization(related).Apply(ctx, o)
		}
	})
}

func (m fieldseekerLinelocationMods) WithOrganization(rel *OrganizationTemplate) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(ctx context.Context, o *FieldseekerLinelocationTemplate) {
		o.r.Organization = &fieldseekerLinelocationROrganizationR{
			o: rel,
		}
	})
}

func (m fieldseekerLinelocationMods) WithNewOrganization(mods ...OrganizationMod) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(ctx context.Context, o *FieldseekerLinelocationTemplate) {
		related := o.f.NewOrganizationWithContext(ctx, mods...)

		m.WithOrganization(related).Apply(ctx, o)
	})
}

func (m fieldseekerLinelocationMods) WithExistingOrganization(em *models.Organization) FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(ctx context.Context, o *FieldseekerLinelocationTemplate) {
		o.r.Organization = &fieldseekerLinelocationROrganizationR{
			o: o.f.FromExistingOrganization(em),
		}
	})
}

func (m fieldseekerLinelocationMods) WithoutOrganization() FieldseekerLinelocationMod {
	return FieldseekerLinelocationModFunc(func(ctx context.Context, o *FieldseekerLinelocationTemplate) {
		o.r.Organization = nil
	})
}
