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

type FieldseekerProposedtreatmentareaModFunc func(context.Context, *FieldseekerProposedtreatmentareaTemplate)

func (f FieldseekerProposedtreatmentareaModFunc) Apply(ctx context.Context, n *FieldseekerProposedtreatmentareaTemplate) {
	f(ctx, n)
}

type FieldseekerProposedtreatmentareaModSlice []FieldseekerProposedtreatmentareaMod

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

// FieldseekerProposedtreatmentareaTemplate is an object representing the database table.
// all columns are optional and should be set by mods
type FieldseekerProposedtreatmentareaTemplate struct {
	Objectid          func() int64
	Method            func() null.Val[string]
	Comments          func() null.Val[string]
	Zone              func() null.Val[string]
	Reviewed          func() null.Val[int16]
	Reviewedby        func() null.Val[string]
	Revieweddate      func() null.Val[time.Time]
	Zone2             func() null.Val[string]
	Completeddate     func() null.Val[time.Time]
	Completedby       func() null.Val[string]
	Completed         func() null.Val[int16]
	Issprayroute      func() null.Val[int16]
	Name              func() null.Val[string]
	Acres             func() null.Val[float64]
	Globalid          func() uuid.UUID
	Exported          func() null.Val[int16]
	Targetproduct     func() null.Val[string]
	Targetapprate     func() null.Val[float64]
	Hectares          func() null.Val[float64]
	Lasttreatactivity 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]
	Priority          func() null.Val[string]
	Duedate           func() null.Val[time.Time]
	Creationdate      func() null.Val[time.Time]
	Creator           func() null.Val[string]
	Editdate          func() null.Val[time.Time]
	Editor            func() null.Val[string]
	Targetspecies     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 fieldseekerProposedtreatmentareaR
	f *Factory

	alreadyPersisted bool
}

type fieldseekerProposedtreatmentareaR struct {
	Organization *fieldseekerProposedtreatmentareaROrganizationR
}

type fieldseekerProposedtreatmentareaROrganizationR struct {
	o *OrganizationTemplate
}

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

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

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

	if o.Objectid != nil {
		val := o.Objectid()
		m.Objectid = omit.From(val)
	}
	if o.Method != nil {
		val := o.Method()
		m.Method = omitnull.FromNull(val)
	}
	if o.Comments != nil {
		val := o.Comments()
		m.Comments = omitnull.FromNull(val)
	}
	if o.Zone != nil {
		val := o.Zone()
		m.Zone = omitnull.FromNull(val)
	}
	if o.Reviewed != nil {
		val := o.Reviewed()
		m.Reviewed = omitnull.FromNull(val)
	}
	if o.Reviewedby != nil {
		val := o.Reviewedby()
		m.Reviewedby = omitnull.FromNull(val)
	}
	if o.Revieweddate != nil {
		val := o.Revieweddate()
		m.Revieweddate = omitnull.FromNull(val)
	}
	if o.Zone2 != nil {
		val := o.Zone2()
		m.Zone2 = omitnull.FromNull(val)
	}
	if o.Completeddate != nil {
		val := o.Completeddate()
		m.Completeddate = omitnull.FromNull(val)
	}
	if o.Completedby != nil {
		val := o.Completedby()
		m.Completedby = omitnull.FromNull(val)
	}
	if o.Completed != nil {
		val := o.Completed()
		m.Completed = omitnull.FromNull(val)
	}
	if o.Issprayroute != nil {
		val := o.Issprayroute()
		m.Issprayroute = omitnull.FromNull(val)
	}
	if o.Name != nil {
		val := o.Name()
		m.Name = omitnull.FromNull(val)
	}
	if o.Acres != nil {
		val := o.Acres()
		m.Acres = omitnull.FromNull(val)
	}
	if o.Globalid != nil {
		val := o.Globalid()
		m.Globalid = omit.From(val)
	}
	if o.Exported != nil {
		val := o.Exported()
		m.Exported = omitnull.FromNull(val)
	}
	if o.Targetproduct != nil {
		val := o.Targetproduct()
		m.Targetproduct = omitnull.FromNull(val)
	}
	if o.Targetapprate != nil {
		val := o.Targetapprate()
		m.Targetapprate = omitnull.FromNull(val)
	}
	if o.Hectares != nil {
		val := o.Hectares()
		m.Hectares = omitnull.FromNull(val)
	}
	if o.Lasttreatactivity != nil {
		val := o.Lasttreatactivity()
		m.Lasttreatactivity = 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.Priority != nil {
		val := o.Priority()
		m.Priority = omitnull.FromNull(val)
	}
	if o.Duedate != nil {
		val := o.Duedate()
		m.Duedate = 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.Targetspecies != nil {
		val := o.Targetspecies()
		m.Targetspecies = 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.FieldseekerProposedtreatmentareaSetter
// this does nothing with the relationship templates
func (o FieldseekerProposedtreatmentareaTemplate) BuildManySetter(number int) []*models.FieldseekerProposedtreatmentareaSetter {
	m := make([]*models.FieldseekerProposedtreatmentareaSetter, number)

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

	return m
}

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

	if o.Objectid != nil {
		m.Objectid = o.Objectid()
	}
	if o.Method != nil {
		m.Method = o.Method()
	}
	if o.Comments != nil {
		m.Comments = o.Comments()
	}
	if o.Zone != nil {
		m.Zone = o.Zone()
	}
	if o.Reviewed != nil {
		m.Reviewed = o.Reviewed()
	}
	if o.Reviewedby != nil {
		m.Reviewedby = o.Reviewedby()
	}
	if o.Revieweddate != nil {
		m.Revieweddate = o.Revieweddate()
	}
	if o.Zone2 != nil {
		m.Zone2 = o.Zone2()
	}
	if o.Completeddate != nil {
		m.Completeddate = o.Completeddate()
	}
	if o.Completedby != nil {
		m.Completedby = o.Completedby()
	}
	if o.Completed != nil {
		m.Completed = o.Completed()
	}
	if o.Issprayroute != nil {
		m.Issprayroute = o.Issprayroute()
	}
	if o.Name != nil {
		m.Name = o.Name()
	}
	if o.Acres != nil {
		m.Acres = o.Acres()
	}
	if o.Globalid != nil {
		m.Globalid = o.Globalid()
	}
	if o.Exported != nil {
		m.Exported = o.Exported()
	}
	if o.Targetproduct != nil {
		m.Targetproduct = o.Targetproduct()
	}
	if o.Targetapprate != nil {
		m.Targetapprate = o.Targetapprate()
	}
	if o.Hectares != nil {
		m.Hectares = o.Hectares()
	}
	if o.Lasttreatactivity != nil {
		m.Lasttreatactivity = o.Lasttreatactivity()
	}
	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.Priority != nil {
		m.Priority = o.Priority()
	}
	if o.Duedate != nil {
		m.Duedate = o.Duedate()
	}
	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.Targetspecies != nil {
		m.Targetspecies = o.Targetspecies()
	}
	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.FieldseekerProposedtreatmentareaSlice
// Related objects are also created and placed in the .R field
// NOTE: Objects are not inserted into the database. Use FieldseekerProposedtreatmentareaTemplate.CreateMany
func (o FieldseekerProposedtreatmentareaTemplate) BuildMany(number int) models.FieldseekerProposedtreatmentareaSlice {
	m := make(models.FieldseekerProposedtreatmentareaSlice, number)

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

	return m
}

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

	return err
}

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

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

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

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

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

	return m, nil
}

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

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

// FieldseekerProposedtreatmentarea has methods that act as mods for the FieldseekerProposedtreatmentareaTemplate
var FieldseekerProposedtreatmentareaMods fieldseekerProposedtreatmentareaMods

type fieldseekerProposedtreatmentareaMods struct{}

func (m fieldseekerProposedtreatmentareaMods) RandomizeAllColumns(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModSlice{
		FieldseekerProposedtreatmentareaMods.RandomObjectid(f),
		FieldseekerProposedtreatmentareaMods.RandomMethod(f),
		FieldseekerProposedtreatmentareaMods.RandomComments(f),
		FieldseekerProposedtreatmentareaMods.RandomZone(f),
		FieldseekerProposedtreatmentareaMods.RandomReviewed(f),
		FieldseekerProposedtreatmentareaMods.RandomReviewedby(f),
		FieldseekerProposedtreatmentareaMods.RandomRevieweddate(f),
		FieldseekerProposedtreatmentareaMods.RandomZone2(f),
		FieldseekerProposedtreatmentareaMods.RandomCompleteddate(f),
		FieldseekerProposedtreatmentareaMods.RandomCompletedby(f),
		FieldseekerProposedtreatmentareaMods.RandomCompleted(f),
		FieldseekerProposedtreatmentareaMods.RandomIssprayroute(f),
		FieldseekerProposedtreatmentareaMods.RandomName(f),
		FieldseekerProposedtreatmentareaMods.RandomAcres(f),
		FieldseekerProposedtreatmentareaMods.RandomGlobalid(f),
		FieldseekerProposedtreatmentareaMods.RandomExported(f),
		FieldseekerProposedtreatmentareaMods.RandomTargetproduct(f),
		FieldseekerProposedtreatmentareaMods.RandomTargetapprate(f),
		FieldseekerProposedtreatmentareaMods.RandomHectares(f),
		FieldseekerProposedtreatmentareaMods.RandomLasttreatactivity(f),
		FieldseekerProposedtreatmentareaMods.RandomLasttreatdate(f),
		FieldseekerProposedtreatmentareaMods.RandomLasttreatproduct(f),
		FieldseekerProposedtreatmentareaMods.RandomLasttreatqty(f),
		FieldseekerProposedtreatmentareaMods.RandomLasttreatqtyunit(f),
		FieldseekerProposedtreatmentareaMods.RandomPriority(f),
		FieldseekerProposedtreatmentareaMods.RandomDuedate(f),
		FieldseekerProposedtreatmentareaMods.RandomCreationdate(f),
		FieldseekerProposedtreatmentareaMods.RandomCreator(f),
		FieldseekerProposedtreatmentareaMods.RandomEditdate(f),
		FieldseekerProposedtreatmentareaMods.RandomEditor(f),
		FieldseekerProposedtreatmentareaMods.RandomTargetspecies(f),
		FieldseekerProposedtreatmentareaMods.RandomShapeArea(f),
		FieldseekerProposedtreatmentareaMods.RandomShapeLength(f),
		FieldseekerProposedtreatmentareaMods.RandomGeometry(f),
		FieldseekerProposedtreatmentareaMods.RandomGeospatial(f),
		FieldseekerProposedtreatmentareaMods.RandomVersion(f),
		FieldseekerProposedtreatmentareaMods.RandomOrganizationID(f),
	}
}

// Set the model columns to this value
func (m fieldseekerProposedtreatmentareaMods) Objectid(val int64) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Objectid = func() int64 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ObjectidFunc(f func() int64) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Objectid = f
	})
}

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

// Set the model columns to this value
func (m fieldseekerProposedtreatmentareaMods) Method(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Method = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) MethodFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Method = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetMethod() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Method = 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 fieldseekerProposedtreatmentareaMods) RandomMethod(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Method = 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 fieldseekerProposedtreatmentareaMods) RandomMethodNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Method = 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 fieldseekerProposedtreatmentareaMods) Comments(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Comments = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CommentsFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Comments = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ZoneFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Zone = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetZone() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomZone(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomZoneNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Reviewed(val null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewed = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ReviewedFunc(f func() null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewed = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetReviewed() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewed = 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 fieldseekerProposedtreatmentareaMods) RandomReviewed(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewed = 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 fieldseekerProposedtreatmentareaMods) RandomReviewedNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewed = 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 fieldseekerProposedtreatmentareaMods) Reviewedby(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewedby = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ReviewedbyFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewedby = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetReviewedby() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewedby = 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 fieldseekerProposedtreatmentareaMods) RandomReviewedby(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewedby = 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 fieldseekerProposedtreatmentareaMods) RandomReviewedbyNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Reviewedby = 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 fieldseekerProposedtreatmentareaMods) Revieweddate(val null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Revieweddate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) RevieweddateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Revieweddate = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetRevieweddate() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Revieweddate = 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 fieldseekerProposedtreatmentareaMods) RandomRevieweddate(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Revieweddate = 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 fieldseekerProposedtreatmentareaMods) RandomRevieweddateNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Revieweddate = 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 fieldseekerProposedtreatmentareaMods) Zone2(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Zone2 = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) Zone2Func(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Zone2 = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetZone2() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomZone2(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomZone2NotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Completeddate(val null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completeddate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CompleteddateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completeddate = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetCompleteddate() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completeddate = 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 fieldseekerProposedtreatmentareaMods) RandomCompleteddate(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completeddate = 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 fieldseekerProposedtreatmentareaMods) RandomCompleteddateNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completeddate = 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 fieldseekerProposedtreatmentareaMods) Completedby(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completedby = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CompletedbyFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completedby = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetCompletedby() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completedby = 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 fieldseekerProposedtreatmentareaMods) RandomCompletedby(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completedby = 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 fieldseekerProposedtreatmentareaMods) RandomCompletedbyNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completedby = 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 fieldseekerProposedtreatmentareaMods) Completed(val null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completed = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CompletedFunc(f func() null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completed = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetCompleted() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completed = 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 fieldseekerProposedtreatmentareaMods) RandomCompleted(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completed = 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 fieldseekerProposedtreatmentareaMods) RandomCompletedNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Completed = 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 fieldseekerProposedtreatmentareaMods) Issprayroute(val null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Issprayroute = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) IssprayrouteFunc(f func() null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Issprayroute = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetIssprayroute() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Issprayroute = 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 fieldseekerProposedtreatmentareaMods) RandomIssprayroute(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Issprayroute = 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 fieldseekerProposedtreatmentareaMods) RandomIssprayrouteNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Issprayroute = 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 fieldseekerProposedtreatmentareaMods) Name(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Name = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) NameFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Name = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetName() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomName(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomNameNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Acres(val null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Acres = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) AcresFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Acres = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetAcres() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomAcres(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomAcresNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Globalid(val uuid.UUID) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Globalid = func() uuid.UUID { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) GlobalidFunc(f func() uuid.UUID) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Globalid = f
	})
}

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

// Set the model columns to this value
func (m fieldseekerProposedtreatmentareaMods) Exported(val null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Exported = func() null.Val[int16] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ExportedFunc(f func() null.Val[int16]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Exported = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetExported() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Exported = 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 fieldseekerProposedtreatmentareaMods) RandomExported(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Exported = 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 fieldseekerProposedtreatmentareaMods) RandomExportedNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Exported = 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 fieldseekerProposedtreatmentareaMods) Targetproduct(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetproduct = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) TargetproductFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetproduct = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetTargetproduct() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetproduct = 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 fieldseekerProposedtreatmentareaMods) RandomTargetproduct(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetproduct = 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 fieldseekerProposedtreatmentareaMods) RandomTargetproductNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetproduct = 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 fieldseekerProposedtreatmentareaMods) Targetapprate(val null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetapprate = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) TargetapprateFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetapprate = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetTargetapprate() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetapprate = 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 fieldseekerProposedtreatmentareaMods) RandomTargetapprate(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetapprate = 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 fieldseekerProposedtreatmentareaMods) RandomTargetapprateNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetapprate = 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 fieldseekerProposedtreatmentareaMods) Hectares(val null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Hectares = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) HectaresFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Hectares = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) LasttreatactivityFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatactivity = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetLasttreatactivity() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomLasttreatactivity(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomLasttreatactivityNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Lasttreatdate(val null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) LasttreatdateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatdate = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) LasttreatproductFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatproduct = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) LasttreatqtyFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatqty = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) LasttreatqtyunitFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Lasttreatqtyunit = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetLasttreatqtyunit() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomLasttreatqtyunit(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomLasttreatqtyunitNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Priority(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Priority = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) PriorityFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Priority = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetPriority() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomPriority(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) RandomPriorityNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		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 fieldseekerProposedtreatmentareaMods) Duedate(val null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Duedate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) DuedateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Duedate = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetDuedate() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Duedate = 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 fieldseekerProposedtreatmentareaMods) RandomDuedate(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Duedate = 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 fieldseekerProposedtreatmentareaMods) RandomDuedateNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Duedate = 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 fieldseekerProposedtreatmentareaMods) Creationdate(val null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Creationdate = func() null.Val[time.Time] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CreationdateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Creationdate = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) CreatorFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Creator = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) EditdateFunc(f func() null.Val[time.Time]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Editdate = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) EditorFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Editor = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) TargetspeciesFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetspecies = f
	})
}

// Clear any values for the column
func (m fieldseekerProposedtreatmentareaMods) UnsetTargetspecies() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetspecies = 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 fieldseekerProposedtreatmentareaMods) RandomTargetspecies(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetspecies = 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 fieldseekerProposedtreatmentareaMods) RandomTargetspeciesNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Targetspecies = 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 fieldseekerProposedtreatmentareaMods) ShapeArea(val null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.ShapeArea = func() null.Val[float64] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ShapeAreaFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.ShapeArea = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) ShapeLengthFunc(f func() null.Val[float64]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.ShapeLength = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) GeometryFunc(f func() types.JSON[json.RawMessage]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Geometry = f
	})
}

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

// Set the model columns to this value
func (m fieldseekerProposedtreatmentareaMods) Geospatial(val null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Geospatial = func() null.Val[string] { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) GeospatialFunc(f func() null.Val[string]) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Geospatial = f
	})
}

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

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) VersionFunc(f func() int32) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.Version = f
	})
}

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

// Set the model columns to this value
func (m fieldseekerProposedtreatmentareaMods) OrganizationID(val int32) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.OrganizationID = func() int32 { return val }
	})
}

// Set the Column from the function
func (m fieldseekerProposedtreatmentareaMods) OrganizationIDFunc(f func() int32) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.OrganizationID = f
	})
}

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

func (m fieldseekerProposedtreatmentareaMods) WithParentsCascading() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(ctx context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		if isDone, _ := fieldseekerProposedtreatmentareaWithParentsCascadingCtx.Value(ctx); isDone {
			return
		}
		ctx = fieldseekerProposedtreatmentareaWithParentsCascadingCtx.WithValue(ctx, true)
		{

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

func (m fieldseekerProposedtreatmentareaMods) WithOrganization(rel *OrganizationTemplate) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(ctx context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.r.Organization = &fieldseekerProposedtreatmentareaROrganizationR{
			o: rel,
		}
	})
}

func (m fieldseekerProposedtreatmentareaMods) WithNewOrganization(mods ...OrganizationMod) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(ctx context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		related := o.f.NewOrganizationWithContext(ctx, mods...)

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

func (m fieldseekerProposedtreatmentareaMods) WithExistingOrganization(em *models.Organization) FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(ctx context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.r.Organization = &fieldseekerProposedtreatmentareaROrganizationR{
			o: o.f.FromExistingOrganization(em),
		}
	})
}

func (m fieldseekerProposedtreatmentareaMods) WithoutOrganization() FieldseekerProposedtreatmentareaMod {
	return FieldseekerProposedtreatmentareaModFunc(func(ctx context.Context, o *FieldseekerProposedtreatmentareaTemplate) {
		o.r.Organization = nil
	})
}
