// 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 FieldseekerPolygonlocationMod interface {
	Apply(context.Context, *FieldseekerPolygonlocationTemplate)
}

type FieldseekerPolygonlocationModFunc func(context.Context, *FieldseekerPolygonlocationTemplate)

func (f FieldseekerPolygonlocationModFunc) Apply(ctx context.Context, n *FieldseekerPolygonlocationTemplate) {
	f(ctx, n)
}

type FieldseekerPolygonlocationModSlice []FieldseekerPolygonlocationMod

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

// FieldseekerPolygonlocationTemplate is an object representing the database table.
// all columns are optional and should be set by mods
type FieldseekerPolygonlocationTemplate 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]
	Zone2                   func() null.Val[string]
	Locationnumber          func() null.Val[int32]
	Globalid                func() uuid.UUID
	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]
	Lastinspectconditions   func() null.Val[string]
	Waterorigin             func() null.Val[string]
	Filter                  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]
	ShapeArea               func() null.Val[float64]
	ShapeLength             func() null.Val[float64]
	Geometry                func() types.JSON[json.RawMessage]
	Geospatial              func() null.Val[string]
	Version                 func() int32
	OrganizationID          func() int32

	r fieldseekerPolygonlocationR
	f *Factory

	alreadyPersisted bool
}

type fieldseekerPolygonlocationR struct {
	Organization *fieldseekerPolygonlocationROrganizationR
}

type fieldseekerPolygonlocationROrganizationR struct {
	o *OrganizationTemplate
}

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

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

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

	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.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.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.Lastinspectconditions != nil {
		val := o.Lastinspectconditions()
		m.Lastinspectconditions = omitnull.FromNull(val)
	}
	if o.Waterorigin != nil {
		val := o.Waterorigin()
		m.Waterorigin = omitnull.FromNull(val)
	}
	if o.Filter != nil {
		val := o.Filter()
		m.Filter = 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.ShapeArea != nil {
		val := o.ShapeArea()
		m.ShapeArea = 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.FieldseekerPolygonlocationSetter
// this does nothing with the relationship templates
func (o FieldseekerPolygonlocationTemplate) BuildManySetter(number int) []*models.FieldseekerPolygonlocationSetter {
	m := make([]*models.FieldseekerPolygonlocationSetter, number)

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

	return m
}

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

	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.Zone2 != nil {
		m.Zone2 = o.Zone2()
	}
	if o.Locationnumber != nil {
		m.Locationnumber = o.Locationnumber()
	}
	if o.Globalid != nil {
		m.Globalid = o.Globalid()
	}
	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.Lastinspectconditions != nil {
		m.Lastinspectconditions = o.Lastinspectconditions()
	}
	if o.Waterorigin != nil {
		m.Waterorigin = o.Waterorigin()
	}
	if o.Filter != nil {
		m.Filter = o.Filter()
	}
	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.ShapeArea != nil {
		m.ShapeArea = o.ShapeArea()
	}
	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.FieldseekerPolygonlocationSlice
// Related objects are also created and placed in the .R field
// NOTE: Objects are not inserted into the database. Use FieldseekerPolygonlocationTemplate.CreateMany
func (o FieldseekerPolygonlocationTemplate) BuildMany(number int) models.FieldseekerPolygonlocationSlice {
	m := make(models.FieldseekerPolygonlocationSlice, number)

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

	return m
}

func ensureCreatableFieldseekerPolygonlocation(m *models.FieldseekerPolygonlocationSetter) {
	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.FieldseekerPolygonlocation
// according to the relationships in the template.
// any required relationship should have already exist on the model
func (o *FieldseekerPolygonlocationTemplate) insertOptRels(ctx context.Context, exec bob.Executor, m *models.FieldseekerPolygonlocation) error {
	var err error

	return err
}

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

	if o.r.Organization == nil {
		FieldseekerPolygonlocationMods.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.FieldseekerPolygonlocations.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 fieldseekerPolygonlocation and inserts it into the database
// Relations objects are also inserted and placed in the .R field
// panics if an error occurs
func (o *FieldseekerPolygonlocationTemplate) MustCreate(ctx context.Context, exec bob.Executor) *models.FieldseekerPolygonlocation {
	m, err := o.Create(ctx, exec)
	if err != nil {
		panic(err)
	}
	return m
}

// CreateOrFail builds a fieldseekerPolygonlocation 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 *FieldseekerPolygonlocationTemplate) CreateOrFail(ctx context.Context, tb testing.TB, exec bob.Executor) *models.FieldseekerPolygonlocation {
	tb.Helper()
	m, err := o.Create(ctx, exec)
	if err != nil {
		tb.Fatal(err)
		return nil
	}
	return m
}

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

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

	return m, nil
}

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

// CreateManyOrFail builds multiple fieldseekerPolygonlocations 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 FieldseekerPolygonlocationTemplate) CreateManyOrFail(ctx context.Context, tb testing.TB, exec bob.Executor, number int) models.FieldseekerPolygonlocationSlice {
	tb.Helper()
	m, err := o.CreateMany(ctx, exec, number)
	if err != nil {
		tb.Fatal(err)
		return nil
	}
	return m
}

// FieldseekerPolygonlocation has methods that act as mods for the FieldseekerPolygonlocationTemplate
var FieldseekerPolygonlocationMods fieldseekerPolygonlocationMods

type fieldseekerPolygonlocationMods struct{}

func (m fieldseekerPolygonlocationMods) RandomizeAllColumns(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModSlice{
		FieldseekerPolygonlocationMods.RandomObjectid(f),
		FieldseekerPolygonlocationMods.RandomName(f),
		FieldseekerPolygonlocationMods.RandomZone(f),
		FieldseekerPolygonlocationMods.RandomHabitat(f),
		FieldseekerPolygonlocationMods.RandomPriority(f),
		FieldseekerPolygonlocationMods.RandomUsetype(f),
		FieldseekerPolygonlocationMods.RandomActive(f),
		FieldseekerPolygonlocationMods.RandomDescription(f),
		FieldseekerPolygonlocationMods.RandomAccessdesc(f),
		FieldseekerPolygonlocationMods.RandomComments(f),
		FieldseekerPolygonlocationMods.RandomSymbology(f),
		FieldseekerPolygonlocationMods.RandomExternalid(f),
		FieldseekerPolygonlocationMods.RandomAcres(f),
		FieldseekerPolygonlocationMods.RandomNextactiondatescheduled(f),
		FieldseekerPolygonlocationMods.RandomLarvinspectinterval(f),
		FieldseekerPolygonlocationMods.RandomZone2(f),
		FieldseekerPolygonlocationMods.RandomLocationnumber(f),
		FieldseekerPolygonlocationMods.RandomGlobalid(f),
		FieldseekerPolygonlocationMods.RandomLastinspectdate(f),
		FieldseekerPolygonlocationMods.RandomLastinspectbreeding(f),
		FieldseekerPolygonlocationMods.RandomLastinspectavglarvae(f),
		FieldseekerPolygonlocationMods.RandomLastinspectavgpupae(f),
		FieldseekerPolygonlocationMods.RandomLastinspectlstages(f),
		FieldseekerPolygonlocationMods.RandomLastinspectactiontaken(f),
		FieldseekerPolygonlocationMods.RandomLastinspectfieldspecies(f),
		FieldseekerPolygonlocationMods.RandomLasttreatdate(f),
		FieldseekerPolygonlocationMods.RandomLasttreatproduct(f),
		FieldseekerPolygonlocationMods.RandomLasttreatqty(f),
		FieldseekerPolygonlocationMods.RandomLasttreatqtyunit(f),
		FieldseekerPolygonlocationMods.RandomHectares(f),
		FieldseekerPolygonlocationMods.RandomLastinspectactivity(f),
		FieldseekerPolygonlocationMods.RandomLasttreatactivity(f),
		FieldseekerPolygonlocationMods.RandomLastinspectconditions(f),
		FieldseekerPolygonlocationMods.RandomWaterorigin(f),
		FieldseekerPolygonlocationMods.RandomFilter(f),
		FieldseekerPolygonlocationMods.RandomCreationdate(f),
		FieldseekerPolygonlocationMods.RandomCreator(f),
		FieldseekerPolygonlocationMods.RandomEditdate(f),
		FieldseekerPolygonlocationMods.RandomEditor(f),
		FieldseekerPolygonlocationMods.RandomJurisdiction(f),
		FieldseekerPolygonlocationMods.RandomShapeArea(f),
		FieldseekerPolygonlocationMods.RandomShapeLength(f),
		FieldseekerPolygonlocationMods.RandomGeometry(f),
		FieldseekerPolygonlocationMods.RandomGeospatial(f),
		FieldseekerPolygonlocationMods.RandomVersion(f),
		FieldseekerPolygonlocationMods.RandomOrganizationID(f),
	}
}

// Set the model columns to this value
func (m fieldseekerPolygonlocationMods) Objectid(val int64) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Objectid = func() int64 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ObjectidFunc(f func() int64) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Objectid = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetObjectid() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomObjectid(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Objectid = func() int64 {
			return random_int64(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerPolygonlocationMods) Name(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Name = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) NameFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Name = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetName() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomName(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomNameNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Zone(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Zone = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ZoneFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Zone = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetZone() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomZone(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomZoneNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Habitat(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Habitat = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) HabitatFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Habitat = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetHabitat() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomHabitat(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomHabitatNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Priority(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Priority = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) PriorityFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Priority = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetPriority() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomPriority(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomPriorityNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Usetype(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Usetype = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) UsetypeFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Usetype = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetUsetype() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomUsetype(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomUsetypeNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Active(val null.Val[int16]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Active = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ActiveFunc(f func() null.Val[int16]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Active = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetActive() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomActive(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomActiveNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Description(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Description = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) DescriptionFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Description = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetDescription() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomDescription(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomDescriptionNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Accessdesc(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Accessdesc = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) AccessdescFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Accessdesc = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetAccessdesc() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomAccessdesc(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomAccessdescNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Comments(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Comments = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) CommentsFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Comments = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetComments() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomComments(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomCommentsNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Symbology(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Symbology = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) SymbologyFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Symbology = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetSymbology() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomSymbology(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomSymbologyNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Externalid(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Externalid = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ExternalidFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Externalid = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetExternalid() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomExternalid(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomExternalidNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Acres(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Acres = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) AcresFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Acres = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetAcres() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomAcres(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomAcresNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Nextactiondatescheduled(val null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Nextactiondatescheduled = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) NextactiondatescheduledFunc(f func() null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Nextactiondatescheduled = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetNextactiondatescheduled() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomNextactiondatescheduled(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomNextactiondatescheduledNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Larvinspectinterval(val null.Val[int16]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Larvinspectinterval = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LarvinspectintervalFunc(f func() null.Val[int16]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Larvinspectinterval = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLarvinspectinterval() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLarvinspectinterval(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLarvinspectintervalNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Zone2(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Zone2 = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) Zone2Func(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Zone2 = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetZone2() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomZone2(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomZone2NotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Locationnumber(val null.Val[int32]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Locationnumber = func() null.Val[int32] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LocationnumberFunc(f func() null.Val[int32]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Locationnumber = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLocationnumber() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLocationnumber(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLocationnumberNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Globalid(val uuid.UUID) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Globalid = func() uuid.UUID { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Globalid = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetGlobalid() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomGlobalid(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Globalid = func() uuid.UUID {
			return random_uuid_UUID(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerPolygonlocationMods) Lastinspectdate(val null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectdateFunc(f func() null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectdate = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectdate() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectdate(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectdateNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectbreeding(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectbreeding = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectbreedingFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectbreeding = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectbreeding() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectbreeding(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectbreedingNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectavglarvae(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectavglarvae = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectavglarvaeFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectavglarvae = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectavglarvae() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectavglarvae(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectavglarvaeNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectavgpupae(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectavgpupae = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectavgpupaeFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectavgpupae = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectavgpupae() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectavgpupae(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectavgpupaeNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectlstages(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectlstages = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectlstagesFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectlstages = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectlstages() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectlstages(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectlstagesNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectactiontaken(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectactiontaken = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectactiontakenFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectactiontaken = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectactiontaken() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectactiontaken(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectactiontakenNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectfieldspecies(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectfieldspecies = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectfieldspeciesFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectfieldspecies = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectfieldspecies() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectfieldspecies(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectfieldspeciesNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lasttreatdate(val null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LasttreatdateFunc(f func() null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatdate = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLasttreatdate() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatdate(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatdateNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lasttreatproduct(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatproduct = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LasttreatproductFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatproduct = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLasttreatproduct() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatproduct(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatproductNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lasttreatqty(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatqty = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LasttreatqtyFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatqty = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLasttreatqty() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatqty(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatqtyNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lasttreatqtyunit(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatqtyunit = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LasttreatqtyunitFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatqtyunit = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLasttreatqtyunit() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatqtyunit(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatqtyunitNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Hectares(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Hectares = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) HectaresFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Hectares = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetHectares() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomHectares(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomHectaresNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectactivity(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectactivity = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectactivityFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectactivity = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectactivity() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectactivity(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectactivityNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lasttreatactivity(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatactivity = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LasttreatactivityFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lasttreatactivity = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLasttreatactivity() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatactivity(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLasttreatactivityNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Lastinspectconditions(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectconditions = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) LastinspectconditionsFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Lastinspectconditions = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetLastinspectconditions() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectconditions(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomLastinspectconditionsNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Waterorigin(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Waterorigin = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) WateroriginFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Waterorigin = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetWaterorigin() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomWaterorigin(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomWateroriginNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Filter(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Filter = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) FilterFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Filter = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetFilter() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Filter = 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 fieldseekerPolygonlocationMods) RandomFilter(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Filter = 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 fieldseekerPolygonlocationMods) RandomFilterNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Filter = 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 fieldseekerPolygonlocationMods) Creationdate(val null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Creationdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) CreationdateFunc(f func() null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Creationdate = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetCreationdate() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomCreationdate(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomCreationdateNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Creator(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Creator = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) CreatorFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Creator = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetCreator() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomCreator(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomCreatorNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Editdate(val null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Editdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) EditdateFunc(f func() null.Val[time.Time]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Editdate = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetEditdate() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomEditdate(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomEditdateNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Editor(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Editor = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) EditorFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Editor = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetEditor() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomEditor(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomEditorNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Jurisdiction(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Jurisdiction = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) JurisdictionFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Jurisdiction = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetJurisdiction() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomJurisdiction(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomJurisdictionNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) ShapeArea(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeArea = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ShapeAreaFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeArea = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetShapeArea() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeArea = 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 fieldseekerPolygonlocationMods) RandomShapeArea(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeArea = 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 fieldseekerPolygonlocationMods) RandomShapeAreaNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeArea = 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 fieldseekerPolygonlocationMods) ShapeLength(val null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeLength = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) ShapeLengthFunc(f func() null.Val[float64]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.ShapeLength = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetShapeLength() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomShapeLength(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomShapeLengthNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Geometry(val types.JSON[json.RawMessage]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Geometry = func() types.JSON[json.RawMessage] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) GeometryFunc(f func() types.JSON[json.RawMessage]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Geometry = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetGeometry() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomGeometry(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Geometry = func() types.JSON[json.RawMessage] {
			return random_types_JSON_json_RawMessage_(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerPolygonlocationMods) Geospatial(val null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Geospatial = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) GeospatialFunc(f func() null.Val[string]) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Geospatial = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetGeospatial() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomGeospatial(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomGeospatialNotNull(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) Version(val int32) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Version = func() int32 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) VersionFunc(f func() int32) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Version = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetVersion() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomVersion(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.Version = func() int32 {
			return random_int32(f)
		}
	})
}

// Set the model columns to this value
func (m fieldseekerPolygonlocationMods) OrganizationID(val int32) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.OrganizationID = func() int32 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerPolygonlocationMods) OrganizationIDFunc(f func() int32) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.OrganizationID = f
	})
}

// Clear any values for the column
func (m fieldseekerPolygonlocationMods) UnsetOrganizationID() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		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 fieldseekerPolygonlocationMods) RandomOrganizationID(f *faker.Faker) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.OrganizationID = func() int32 {
			return random_int32(f)
		}
	})
}

func (m fieldseekerPolygonlocationMods) WithParentsCascading() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(ctx context.Context, o *FieldseekerPolygonlocationTemplate) {
		if isDone, _ := fieldseekerPolygonlocationWithParentsCascadingCtx.Value(ctx); isDone {
			return
		}
		ctx = fieldseekerPolygonlocationWithParentsCascadingCtx.WithValue(ctx, true)
		{

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

func (m fieldseekerPolygonlocationMods) WithOrganization(rel *OrganizationTemplate) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(ctx context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.r.Organization = &fieldseekerPolygonlocationROrganizationR{
			o: rel,
		}
	})
}

func (m fieldseekerPolygonlocationMods) WithNewOrganization(mods ...OrganizationMod) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(ctx context.Context, o *FieldseekerPolygonlocationTemplate) {
		related := o.f.NewOrganizationWithContext(ctx, mods...)

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

func (m fieldseekerPolygonlocationMods) WithExistingOrganization(em *models.Organization) FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(ctx context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.r.Organization = &fieldseekerPolygonlocationROrganizationR{
			o: o.f.FromExistingOrganization(em),
		}
	})
}

func (m fieldseekerPolygonlocationMods) WithoutOrganization() FieldseekerPolygonlocationMod {
	return FieldseekerPolygonlocationModFunc(func(ctx context.Context, o *FieldseekerPolygonlocationTemplate) {
		o.r.Organization = nil
	})
}
