nidus-sync/db/dbinfo/fieldseeker.qamosquitoinspection.bob.go

763 lines
21 KiB
Go
Raw Permalink Normal View History

// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.
package dbinfo
import "github.com/aarondl/opt/null"
var FieldseekerQamosquitoinspections = Table[
fieldseekerQamosquitoinspectionColumns,
fieldseekerQamosquitoinspectionIndexes,
fieldseekerQamosquitoinspectionForeignKeys,
fieldseekerQamosquitoinspectionUniques,
fieldseekerQamosquitoinspectionChecks,
]{
Schema: "fieldseeker",
Name: "qamosquitoinspection",
Columns: fieldseekerQamosquitoinspectionColumns{
Objectid: column{
Name: "objectid",
DBType: "bigint",
Default: "nextval('fieldseeker.qamosquitoinspection_objectid_seq'::regclass)",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Posdips: column{
Name: "posdips",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is POSDIPS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Actiontaken: column{
Name: "actiontaken",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ACTIONTAKEN",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Comments: column{
Name: "comments",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is COMMENTS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Avetemp: column{
Name: "avetemp",
DBType: "double precision",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is AVETEMP",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Windspeed: column{
Name: "windspeed",
DBType: "double precision",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WINDSPEED",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Raingauge: column{
Name: "raingauge",
DBType: "double precision",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is RAINGAUGE",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Globalid: column{
Name: "globalid",
DBType: "uuid",
Default: "",
Comment: "Original attribute from ArcGIS API is GlobalID",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Startdatetime: column{
Name: "startdatetime",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is STARTDATETIME",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Enddatetime: column{
Name: "enddatetime",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ENDDATETIME",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Winddir: column{
Name: "winddir",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WINDDIR",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Reviewed: column{
Name: "reviewed",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is REVIEWED",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Reviewedby: column{
Name: "reviewedby",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is REVIEWEDBY",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Revieweddate: column{
Name: "revieweddate",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is REVIEWEDDATE",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Locationname: column{
Name: "locationname",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LOCATIONNAME",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Zone: column{
Name: "zone",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ZONE",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Recordstatus: column{
Name: "recordstatus",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is RECORDSTATUS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Zone2: column{
Name: "zone2",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ZONE2",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LR: column{
Name: "lr",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LR",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Negdips: column{
Name: "negdips",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is NEGDIPS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Totalacres: column{
Name: "totalacres",
DBType: "double precision",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is TOTALACRES",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Acresbreeding: column{
Name: "acresbreeding",
DBType: "double precision",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ACRESBREEDING",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Fish: column{
Name: "fish",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is FISH",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Sitetype: column{
Name: "sitetype",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is SITETYPE",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Breedingpotential: column{
Name: "breedingpotential",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is BREEDINGPOTENTIAL",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Movingwater: column{
Name: "movingwater",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is MOVINGWATER",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Nowaterever: column{
Name: "nowaterever",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is NOWATEREVER",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Mosquitohabitat: column{
Name: "mosquitohabitat",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is MOSQUITOHABITAT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Habvalue1: column{
Name: "habvalue1",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is HABVALUE1",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Habvalue1percent: column{
Name: "habvalue1percent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is HABVALUE1PERCENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Habvalue2: column{
Name: "habvalue2",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is HABVALUE2",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Habvalue2percent: column{
Name: "habvalue2percent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is HABVALUE2PERCENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Potential: column{
Name: "potential",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is POTENTIAL",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Larvaepresent: column{
Name: "larvaepresent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LARVAEPRESENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Larvaeinsidetreatedarea: column{
Name: "larvaeinsidetreatedarea",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LARVAEINSIDETREATEDAREA",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Larvaeoutsidetreatedarea: column{
Name: "larvaeoutsidetreatedarea",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LARVAEOUTSIDETREATEDAREA",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Larvaereason: column{
Name: "larvaereason",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LARVAEREASON",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Aquaticorganisms: column{
Name: "aquaticorganisms",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is AQUATICORGANISMS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Vegetation: column{
Name: "vegetation",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is VEGETATION",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Sourcereduction: column{
Name: "sourcereduction",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is SOURCEREDUCTION",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Waterpresent: column{
Name: "waterpresent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERPRESENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Watermovement1: column{
Name: "watermovement1",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERMOVEMENT1",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Watermovement1percent: column{
Name: "watermovement1percent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERMOVEMENT1PERCENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Watermovement2: column{
Name: "watermovement2",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERMOVEMENT2",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Watermovement2percent: column{
Name: "watermovement2percent",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERMOVEMENT2PERCENT",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Soilconditions: column{
Name: "soilconditions",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is SOILCONDITIONS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Waterduration: column{
Name: "waterduration",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERDURATION",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Watersource: column{
Name: "watersource",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERSOURCE",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Waterconditions: column{
Name: "waterconditions",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is WATERCONDITIONS",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Adultactivity: column{
Name: "adultactivity",
DBType: "smallint",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is ADULTACTIVITY",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Linelocid: column{
Name: "linelocid",
DBType: "uuid",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is LINELOCID",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Pointlocid: column{
Name: "pointlocid",
DBType: "uuid",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is POINTLOCID",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Polygonlocid: column{
Name: "polygonlocid",
DBType: "uuid",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is POLYGONLOCID",
Nullable: true,
Generated: false,
AutoIncr: false,
},
CreatedUser: column{
Name: "created_user",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is created_user",
Nullable: true,
Generated: false,
AutoIncr: false,
},
CreatedDate: column{
Name: "created_date",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is created_date",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LastEditedUser: column{
Name: "last_edited_user",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is last_edited_user",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LastEditedDate: column{
Name: "last_edited_date",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is last_edited_date",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Fieldtech: column{
Name: "fieldtech",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is FIELDTECH",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Creationdate: column{
Name: "creationdate",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is CreationDate",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Creator: column{
Name: "creator",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is Creator",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Editdate: column{
Name: "editdate",
DBType: "timestamp without time zone",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is EditDate",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Editor: column{
Name: "editor",
DBType: "character varying",
Default: "NULL",
Comment: "Original attribute from ArcGIS API is Editor",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Geometry: column{
Name: "geometry",
DBType: "jsonb",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Geospatial: column{
Name: "geospatial",
DBType: "geometry",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Version: column{
Name: "version",
DBType: "integer",
Default: "1",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
OrganizationID: column{
Name: "organization_id",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: fieldseekerQamosquitoinspectionIndexes{
QamosquitoinspectionPkey: index{
Type: "btree",
Name: "qamosquitoinspection_pkey",
Columns: []indexColumn{
{
Name: "objectid",
Desc: null.FromCond(false, true),
IsExpression: false,
},
{
Name: "version",
Desc: null.FromCond(false, true),
IsExpression: false,
},
},
Unique: true,
Comment: "",
NullsFirst: []bool{false, false},
NullsDistinct: false,
Where: "",
Include: []string{},
},
},
PrimaryKey: &constraint{
Name: "qamosquitoinspection_pkey",
Columns: []string{"objectid", "version"},
Comment: "",
},
ForeignKeys: fieldseekerQamosquitoinspectionForeignKeys{
FieldseekerQamosquitoinspectionQamosquitoinspectionOrganizationIDFkey: foreignKey{
constraint: constraint{
Name: "fieldseeker.qamosquitoinspection.qamosquitoinspection_organization_id_fkey",
Columns: []string{"organization_id"},
Comment: "",
},
ForeignTable: "organization",
ForeignColumns: []string{"id"},
},
},
Comment: "",
}
type fieldseekerQamosquitoinspectionColumns struct {
Objectid column
Posdips column
Actiontaken column
Comments column
Avetemp column
Windspeed column
Raingauge column
Globalid column
Startdatetime column
Enddatetime column
Winddir column
Reviewed column
Reviewedby column
Revieweddate column
Locationname column
Zone column
Recordstatus column
Zone2 column
LR column
Negdips column
Totalacres column
Acresbreeding column
Fish column
Sitetype column
Breedingpotential column
Movingwater column
Nowaterever column
Mosquitohabitat column
Habvalue1 column
Habvalue1percent column
Habvalue2 column
Habvalue2percent column
Potential column
Larvaepresent column
Larvaeinsidetreatedarea column
Larvaeoutsidetreatedarea column
Larvaereason column
Aquaticorganisms column
Vegetation column
Sourcereduction column
Waterpresent column
Watermovement1 column
Watermovement1percent column
Watermovement2 column
Watermovement2percent column
Soilconditions column
Waterduration column
Watersource column
Waterconditions column
Adultactivity column
Linelocid column
Pointlocid column
Polygonlocid column
CreatedUser column
CreatedDate column
LastEditedUser column
LastEditedDate column
Fieldtech column
Creationdate column
Creator column
Editdate column
Editor column
Geometry column
Geospatial column
Version column
OrganizationID column
}
func (c fieldseekerQamosquitoinspectionColumns) AsSlice() []column {
return []column{
c.Objectid, c.Posdips, c.Actiontaken, c.Comments, c.Avetemp, c.Windspeed, c.Raingauge, c.Globalid, c.Startdatetime, c.Enddatetime, c.Winddir, c.Reviewed, c.Reviewedby, c.Revieweddate, c.Locationname, c.Zone, c.Recordstatus, c.Zone2, c.LR, c.Negdips, c.Totalacres, c.Acresbreeding, c.Fish, c.Sitetype, c.Breedingpotential, c.Movingwater, c.Nowaterever, c.Mosquitohabitat, c.Habvalue1, c.Habvalue1percent, c.Habvalue2, c.Habvalue2percent, c.Potential, c.Larvaepresent, c.Larvaeinsidetreatedarea, c.Larvaeoutsidetreatedarea, c.Larvaereason, c.Aquaticorganisms, c.Vegetation, c.Sourcereduction, c.Waterpresent, c.Watermovement1, c.Watermovement1percent, c.Watermovement2, c.Watermovement2percent, c.Soilconditions, c.Waterduration, c.Watersource, c.Waterconditions, c.Adultactivity, c.Linelocid, c.Pointlocid, c.Polygonlocid, c.CreatedUser, c.CreatedDate, c.LastEditedUser, c.LastEditedDate, c.Fieldtech, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.Geometry, c.Geospatial, c.Version, c.OrganizationID,
}
}
type fieldseekerQamosquitoinspectionIndexes struct {
QamosquitoinspectionPkey index
}
func (i fieldseekerQamosquitoinspectionIndexes) AsSlice() []index {
return []index{
i.QamosquitoinspectionPkey,
}
}
type fieldseekerQamosquitoinspectionForeignKeys struct {
FieldseekerQamosquitoinspectionQamosquitoinspectionOrganizationIDFkey foreignKey
}
func (f fieldseekerQamosquitoinspectionForeignKeys) AsSlice() []foreignKey {
return []foreignKey{
f.FieldseekerQamosquitoinspectionQamosquitoinspectionOrganizationIDFkey,
}
}
type fieldseekerQamosquitoinspectionUniques struct{}
func (u fieldseekerQamosquitoinspectionUniques) AsSlice() []constraint {
return []constraint{}
}
type fieldseekerQamosquitoinspectionChecks struct{}
func (c fieldseekerQamosquitoinspectionChecks) AsSlice() []check {
return []check{}
}