1398 lines
43 KiB
Go
1398 lines
43 KiB
Go
// Code generated by BobGen psql v0.0.3-0.20251202003046-49148fc66a73+dirty. DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package factory
|
|
|
|
import (
|
|
"math"
|
|
"strconv"
|
|
"strings"
|
|
"time"
|
|
|
|
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
"github.com/gofrs/uuid/v5"
|
|
"github.com/jaswdr/faker/v2"
|
|
"github.com/lib/pq"
|
|
)
|
|
|
|
var defaultFaker = faker.New()
|
|
|
|
func random___byte(f *faker.Faker, limits ...string) []byte {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return []byte(random_string(f, limits...))
|
|
}
|
|
|
|
func random_bool(f *faker.Faker, limits ...string) bool {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return f.Bool()
|
|
}
|
|
|
|
func random_enums_Arcgislicensetype(f *faker.Faker, limits ...string) enums.Arcgislicensetype {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.Arcgislicensetype
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerContainerrelateMosquitocontainertypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerContainerrelateMosquitocontainertypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerContainerrelateMosquitocontainertypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerFieldscoutinglogFieldscoutingsymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerFieldscoutinglogFieldscoutingsymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerFieldscoutinglogFieldscoutingsymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerHabitatrelateHabitatrelateHabitattype2e81cf2f550e400783cf284(f *faker.Faker, limits ...string) enums.FieldseekerHabitatrelateHabitatrelateHabitattype2e81cf2f550e400783cf284 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerHabitatrelateHabitatrelateHabitattype2e81cf2f550e400783cf284
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerInspectionsampleNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerInspectionsampleNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerInspectionsampleNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerInspectionsampledetailMosquitoadultactivityEnum(f *faker.Faker, limits ...string) enums.FieldseekerInspectionsampledetailMosquitoadultactivityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerInspectionsampledetailMosquitoadultactivityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerInspectionsampledetailMosquitodominantstageEnum(f *faker.Faker, limits ...string) enums.FieldseekerInspectionsampledetailMosquitodominantstageEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerInspectionsampledetailMosquitodominantstageEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerInspectionsampledetailMosquitofieldspeciesEnum(f *faker.Faker, limits ...string) enums.FieldseekerInspectionsampledetailMosquitofieldspeciesEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerInspectionsampledetailMosquitofieldspeciesEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationLinelocationHabitatFc51bdc4f1954df58206d69ce1418(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationLinelocationHabitatFc51bdc4f1954df58206d69ce1418 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationLinelocationHabitatFc51bdc4f1954df58206d69ce1418
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationLinelocationUsetype2aeca2e60d2f455c86fc34895dc80(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationLinelocationUsetype2aeca2e60d2f455c86fc34895dc80 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationLinelocationUsetype2aeca2e60d2f455c86fc34895dc80
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationLinelocationWaterorigin84723D92306a46F48ef16(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationLinelocationWaterorigin84723D92306a46F48ef16 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationLinelocationWaterorigin84723D92306a46F48ef16
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationLocationpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationLocationpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationLocationpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationLocationsymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationLocationsymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationLocationsymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerLinelocationNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerLinelocationNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerLinelocationNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoactivityEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoactivityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoactivityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoadultactivityEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoadultactivityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoadultactivityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitobreedingEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitobreedingEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitobreedingEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitofieldspeciesEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitofieldspeciesEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitofieldspeciesEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoinspectionActiontaken252243D69B0B4(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoinspectionActiontaken252243D69B0B4 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoinspectionActiontaken252243D69B0B4
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoinspectionAdminactionB74ae1bbC98B(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoinspectionAdminactionB74ae1bbC98B {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoinspectionAdminactionB74ae1bbC98B
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoinspectionDomstageB7a6c36bccde49a2(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoinspectionDomstageB7a6c36bccde49a2 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoinspectionDomstageB7a6c36bccde49a2
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionMosquitoinspectionSitecondDB7350BC81e540(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionMosquitoinspectionSitecondDB7350BC81e540 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionMosquitoinspectionSitecondDB7350BC81e540
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerMosquitoinspectionNotinuiwinddirectionEnum(f *faker.Faker, limits ...string) enums.FieldseekerMosquitoinspectionNotinuiwinddirectionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerMosquitoinspectionNotinuiwinddirectionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationLocationpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationLocationpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationLocationpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationLocationsymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationLocationsymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationLocationsymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationPointlocationAssignedtech9393a1622474429D85B(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationPointlocationAssignedtech9393a1622474429D85B {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationPointlocationAssignedtech9393a1622474429D85B
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationPointlocationDeactivateReasonDD303085B33C489(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationPointlocationDeactivateReasonDD303085B33C489 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationPointlocationDeactivateReasonDD303085B33C489
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationPointlocationHabitatB4d8135a497949C88BB367e(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationPointlocationHabitatB4d8135a497949C88BB367e {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationPointlocationHabitatB4d8135a497949C88BB367e
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationPointlocationUsetype58d62d18ef4f47fc8cb9874df86(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationPointlocationUsetype58d62d18ef4f47fc8cb9874df86 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationPointlocationUsetype58d62d18ef4f47fc8cb9874df86
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPointlocationPointlocationWaterorigin197B22BFF3eb4dad8899(f *faker.Faker, limits ...string) enums.FieldseekerPointlocationPointlocationWaterorigin197B22BFF3eb4dad8899 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPointlocationPointlocationWaterorigin197B22BFF3eb4dad8899
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationLocationpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationLocationpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationLocationpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationLocationsymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationLocationsymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationLocationsymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationPolygonlocationHabitat45e9dde79ac84d959df8b65(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationPolygonlocationHabitat45e9dde79ac84d959df8b65 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationPolygonlocationHabitat45e9dde79ac84d959df8b65
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationPolygonlocationUsetypeE546154cb9544b9aa8e7b13(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationPolygonlocationUsetypeE546154cb9544b9aa8e7b13 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationPolygonlocationUsetypeE546154cb9544b9aa8e7b13
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPolygonlocationPolygonlocationWateroriginE9018e925F474FF9(f *faker.Faker, limits ...string) enums.FieldseekerPolygonlocationPolygonlocationWateroriginE9018e925F474FF9 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPolygonlocationPolygonlocationWateroriginE9018e925F474FF9
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPoolMosquitolabnameEnum(f *faker.Faker, limits ...string) enums.FieldseekerPoolMosquitolabnameEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPoolMosquitolabnameEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPoolNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerPoolNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPoolNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPoolPoolDiseasepos6889f8dd00074874aa726907e78497faEnum(f *faker.Faker, limits ...string) enums.FieldseekerPoolPoolDiseasepos6889f8dd00074874aa726907e78497faEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPoolPoolDiseasepos6889f8dd00074874aa726907e78497faEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPoolPoolDiseasetested0f02232949c04c7e8de820b9b515ed97Enum(f *faker.Faker, limits ...string) enums.FieldseekerPoolPoolDiseasetested0f02232949c04c7e8de820b9b515ed97Enum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPoolPoolDiseasetested0f02232949c04c7e8de820b9b515ed97Enum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerPoolPoolTestmethod670efbfba86d41ba8e2d3cab5d749e7fEnum(f *faker.Faker, limits ...string) enums.FieldseekerPoolPoolTestmethod670efbfba86d41ba8e2d3cab5d749e7fEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerPoolPoolTestmethod670efbfba86d41ba8e2d3cab5d749e7fEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerProposedtreatmentareaLocationpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerProposedtreatmentareaLocationpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerProposedtreatmentareaLocationpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerProposedtreatmentareaMosquitotreatmentmethodEnum(f *faker.Faker, limits ...string) enums.FieldseekerProposedtreatmentareaMosquitotreatmentmethodEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerProposedtreatmentareaMosquitotreatmentmethodEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerProposedtreatmentareaNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerProposedtreatmentareaNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerProposedtreatmentareaNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionMosquitoactionEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionMosquitoactionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionMosquitoactionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQaaquaticorganismsEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQaaquaticorganismsEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQaaquaticorganismsEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQabreedingpotentialEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQabreedingpotentialEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQabreedingpotentialEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQalarvaereasonEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQalarvaereasonEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQalarvaereasonEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQamosquitohabitatEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQamosquitohabitatEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQamosquitohabitatEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQasitetypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQasitetypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQasitetypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQasoilconditionEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQasoilconditionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQasoilconditionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQasourcereductionEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQasourcereductionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQasourcereductionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQavegetationEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQavegetationEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQavegetationEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQawaterconditionsEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQawaterconditionsEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQawaterconditionsEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQawaterdurationEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQawaterdurationEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQawaterdurationEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQawatermovementEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQawatermovementEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQawatermovementEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerQamosquitoinspectionQawatersourceEnum(f *faker.Faker, limits ...string) enums.FieldseekerQamosquitoinspectionQawatersourceEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerQamosquitoinspectionQawatersourceEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerRodentlocationLocationpriority1Enum(f *faker.Faker, limits ...string) enums.FieldseekerRodentlocationLocationpriority1Enum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerRodentlocationLocationpriority1Enum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerRodentlocationLocationusetype1Enum(f *faker.Faker, limits ...string) enums.FieldseekerRodentlocationLocationusetype1Enum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerRodentlocationLocationusetype1Enum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerRodentlocationNotinuitF1Enum(f *faker.Faker, limits ...string) enums.FieldseekerRodentlocationNotinuitF1Enum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerRodentlocationNotinuitF1Enum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerRodentlocationRodentlocationSymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerRodentlocationRodentlocationSymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerRodentlocationRodentlocationSymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerRodentlocationRodentlocationhabitatEnum(f *faker.Faker, limits ...string) enums.FieldseekerRodentlocationRodentlocationhabitatEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerRodentlocationRodentlocationhabitatEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitoactivityEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitoactivityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitoactivityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitodiseaseEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitodiseaseEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitodiseaseEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitolabnameEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitolabnameEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitolabnameEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitosampleconditionEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitosampleconditionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitosampleconditionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitosamplespeciesEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitosamplespeciesEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitosamplespeciesEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitosampletypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitosampletypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitosampletypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitositeconditionEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitositeconditionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitositeconditionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionMosquitotestmethodEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionMosquitotestmethodEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionMosquitotestmethodEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionNotinuisexEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionNotinuisexEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionNotinuisexEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplecollectionNotinuiwinddirectionEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplecollectionNotinuiwinddirectionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplecollectionNotinuiwinddirectionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplelocationLocationhabitattypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplelocationLocationhabitattypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplelocationLocationhabitattypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplelocationLocationpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplelocationLocationpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplelocationLocationpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplelocationNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplelocationNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplelocationNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSamplelocationSamplelocationusetypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerSamplelocationSamplelocationusetypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSamplelocationSamplelocationusetypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestAssignedtech71D0D685868F4b7a8(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestAssignedtech71D0D685868F4b7a8 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestAssignedtech71D0D685868F4b7a8
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestDog2b95ec9712864FCD88F4F0e31(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestDog2b95ec9712864FCD88F4F0e31 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestDog2b95ec9712864FCD88F4F0e31
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestSchedulePeriod3F40C046Afd14ab(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestSchedulePeriod3F40C046Afd14ab {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestSchedulePeriod3F40C046Afd14ab
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestSpanishAaa3dc669f9a45278ecdC(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestSpanishAaa3dc669f9a45278ecdC {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestSpanishAaa3dc669f9a45278ecdC
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestSupervisorEba07b90C8854fe6808(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestSupervisorEba07b90C8854fe6808 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestSupervisorEba07b90C8854fe6808
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestcontactpreferencesEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestcontactpreferencesEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestcontactpreferencesEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestissuesEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestissuesEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestissuesEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestnextactionEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestnextactionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestnextactionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestpriorityEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestpriorityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestpriorityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestregionEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestregionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestregionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestrejectedreasonEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestrejectedreasonEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestrejectedreasonEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequestsourceEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequestsourceEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequestsourceEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequeststatusEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequeststatusEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequeststatusEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerServicerequestServicerequesttargetEnum(f *faker.Faker, limits ...string) enums.FieldseekerServicerequestServicerequesttargetEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerServicerequestServicerequesttargetEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerSpeciesabundanceNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerSpeciesabundanceNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerSpeciesabundanceNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerStormdrainStormdrainsymbologyEnum(f *faker.Faker, limits ...string) enums.FieldseekerStormdrainStormdrainsymbologyEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerStormdrainStormdrainsymbologyEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTimecardTimecardActivity451e67260c084304a35457170dc13366Enu(f *faker.Faker, limits ...string) enums.FieldseekerTimecardTimecardActivity451e67260c084304a35457170dc13366Enu {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTimecardTimecardActivity451e67260c084304a35457170dc13366Enu
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTimecardTimecardequipmenttypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerTimecardTimecardequipmenttypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTimecardTimecardequipmenttypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataMosquitositeconditionEnum(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataMosquitositeconditionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataMosquitositeconditionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataMosquitotrapconditionEnum(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataMosquitotrapconditionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataMosquitotrapconditionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataMosquitotraptypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataMosquitotraptypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataMosquitotraptypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataNotinuitrapactivitytypeEnum(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataNotinuitrapactivitytypeEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataNotinuitrapactivitytypeEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataTrapdataLure25fe542f077F4254868176e8f436354bEnu(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataTrapdataLure25fe542f077F4254868176e8f436354bEnu {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataTrapdataLure25fe542f077F4254868176e8f436354bEnu
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTrapdataTrapdataWinddirC1a31e05D0B94B228800Be127bb3f166(f *faker.Faker, limits ...string) enums.FieldseekerTrapdataTrapdataWinddirC1a31e05D0B94B228800Be127bb3f166 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTrapdataTrapdataWinddirC1a31e05D0B94B228800Be127bb3f166
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTraplocationNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerTraplocationNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTraplocationNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTraplocationTraplocationAccessdesc154CBD1045244e3a8ca0F0(f *faker.Faker, limits ...string) enums.FieldseekerTraplocationTraplocationAccessdesc154CBD1045244e3a8ca0F0 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTraplocationTraplocationAccessdesc154CBD1045244e3a8ca0F0
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTraplocationTraplocationHabitat5c349680f5ff40b1aeca88c17993e(f *faker.Faker, limits ...string) enums.FieldseekerTraplocationTraplocationHabitat5c349680f5ff40b1aeca88c17993e {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTraplocationTraplocationHabitat5c349680f5ff40b1aeca88c17993e
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTraplocationTraplocationPriority680FB011063B41D59F39271C959B(f *faker.Faker, limits ...string) enums.FieldseekerTraplocationTraplocationPriority680FB011063B41D59F39271C959B {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTraplocationTraplocationPriority680FB011063B41D59F39271C959B
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTraplocationTraplocationUsetype5e0eff9231fb404c98cc53c1d49a2(f *faker.Faker, limits ...string) enums.FieldseekerTraplocationTraplocationUsetype5e0eff9231fb404c98cc53c1d49a2 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTraplocationTraplocationUsetype5e0eff9231fb404c98cc53c1d49a2
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentMosquitoactivityEnum(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentMosquitoactivityEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentMosquitoactivityEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentMosquitoproductareaunitEnum(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentMosquitoproductareaunitEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentMosquitoproductareaunitEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentMosquitoproductmeasureunitEnum(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentMosquitoproductmeasureunitEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentMosquitoproductmeasureunitEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentNotinuitFEnum(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentNotinuitFEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentNotinuitFEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentNotinuiwinddirectionEnum(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentNotinuiwinddirectionEnum {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentNotinuiwinddirectionEnum
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentTreatmentEquiptype45694D79FF2142CCBe4fA0d1def4f(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentTreatmentEquiptype45694D79FF2142CCBe4fA0d1def4f {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentTreatmentEquiptype45694D79FF2142CCBe4fA0d1def4f
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentTreatmentHabitat0afee7ebF9ea47078483Cccfe60f0d1(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentTreatmentHabitat0afee7ebF9ea47078483Cccfe60f0d1 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentTreatmentHabitat0afee7ebF9ea47078483Cccfe60f0d1
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentTreatmentMethodD558ca3ccf43440c8160758253967621Enu(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentTreatmentMethodD558ca3ccf43440c8160758253967621Enu {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentTreatmentMethodD558ca3ccf43440c8160758253967621Enu
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentTreatmentSitecond5a15bf36fa124280b961f31cd1a9b571E(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentTreatmentSitecond5a15bf36fa124280b961f31cd1a9b571E {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentTreatmentSitecond5a15bf36fa124280b961f31cd1a9b571E
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_FieldseekerTreatmentTreatmentSitecondF812e1f64dcb4dc9a75da9d00abe6169E(f *faker.Faker, limits ...string) enums.FieldseekerTreatmentTreatmentSitecondF812e1f64dcb4dc9a75da9d00abe6169E {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.FieldseekerTreatmentTreatmentSitecondF812e1f64dcb4dc9a75da9d00abe6169E
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_H3aggregationtype(f *faker.Faker, limits ...string) enums.H3aggregationtype {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.H3aggregationtype
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_Hashtype(f *faker.Faker, limits ...string) enums.Hashtype {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.Hashtype
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_enums_Notificationtype(f *faker.Faker, limits ...string) enums.Notificationtype {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var e enums.Notificationtype
|
|
all := e.All()
|
|
return all[f.IntBetween(0, len(all)-1)]
|
|
}
|
|
|
|
func random_float64(f *faker.Faker, limits ...string) float64 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
var precision int64 = 5
|
|
var scale int64 = 2
|
|
|
|
if len(limits) > 0 {
|
|
precision, _ = strconv.ParseInt(limits[0], 10, 32)
|
|
}
|
|
|
|
if len(limits) > 1 {
|
|
scale, _ = strconv.ParseInt(limits[1], 10, 32)
|
|
}
|
|
|
|
baseVal := f.Float64(10, -1, 1)
|
|
for baseVal == -1 || baseVal == 0 || baseVal == 1 {
|
|
baseVal = f.Float64(10, -1, 1)
|
|
}
|
|
|
|
scaleFloat := math.Pow10(int(scale))
|
|
|
|
val := baseVal * math.Pow10(int(precision))
|
|
val = math.Trunc(val) / scaleFloat
|
|
|
|
return val
|
|
}
|
|
|
|
func random_int16(f *faker.Faker, limits ...string) int16 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return f.Int16()
|
|
}
|
|
|
|
func random_int32(f *faker.Faker, limits ...string) int32 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return f.Int32()
|
|
}
|
|
|
|
func random_int64(f *faker.Faker, limits ...string) int64 {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return f.Int64()
|
|
}
|
|
|
|
func random_pq_BoolArray(f *faker.Faker, limits ...string) pq.BoolArray {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
arr := make(pq.BoolArray, f.IntBetween(1, 5))
|
|
for i := range arr {
|
|
arr[i] = random_bool(f, limits...)
|
|
}
|
|
return arr
|
|
}
|
|
|
|
func random_pq_Float64Array(f *faker.Faker, limits ...string) pq.Float64Array {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
arr := make(pq.Float64Array, f.IntBetween(1, 5))
|
|
for i := range arr {
|
|
arr[i] = random_float64(f, limits...)
|
|
}
|
|
return arr
|
|
}
|
|
|
|
func random_pq_StringArray(f *faker.Faker, limits ...string) pq.StringArray {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
arr := make(pq.StringArray, f.IntBetween(1, 5))
|
|
for i := range arr {
|
|
arr[i] = random_string(f, limits...)
|
|
}
|
|
return arr
|
|
}
|
|
|
|
func random_string(f *faker.Faker, limits ...string) string {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
val := strings.Join(f.Lorem().Words(f.IntBetween(1, 5)), " ")
|
|
if len(limits) == 0 {
|
|
return val
|
|
}
|
|
limitInt, _ := strconv.Atoi(limits[0])
|
|
if limitInt > 0 && limitInt < len(val) {
|
|
val = val[:limitInt]
|
|
}
|
|
return val
|
|
}
|
|
|
|
func random_time_Time(f *faker.Faker, limits ...string) time.Time {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
year := time.Hour * 24 * 365
|
|
min := time.Now().Add(-year)
|
|
max := time.Now().Add(year)
|
|
return f.Time().TimeBetween(min, max)
|
|
}
|
|
|
|
func random_uuid_UUID(f *faker.Faker, limits ...string) uuid.UUID {
|
|
if f == nil {
|
|
f = &defaultFaker
|
|
}
|
|
|
|
return uuid.Must(uuid.NewV4())
|
|
}
|