nidus-sync/dbinfo/fs_linelocation.bob.go

618 lines
14 KiB
Go
Raw Normal View History

// Code generated by BobGen psql v0.41.1. 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 FSLinelocations = Table[
fsLinelocationColumns,
fsLinelocationIndexes,
fsLinelocationForeignKeys,
fsLinelocationUniques,
fsLinelocationChecks,
]{
Schema: "",
Name: "fs_linelocation",
Columns: fsLinelocationColumns{
OrganizationID: column{
Name: "organization_id",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Accessdesc: column{
Name: "accessdesc",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Acres: column{
Name: "acres",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Active: column{
Name: "active",
DBType: "smallint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Comments: column{
Name: "comments",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Creationdate: column{
Name: "creationdate",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Creator: column{
Name: "creator",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Description: column{
Name: "description",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Externalid: column{
Name: "externalid",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Editdate: column{
Name: "editdate",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Editor: column{
Name: "editor",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Globalid: column{
Name: "globalid",
DBType: "text",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Habitat: column{
Name: "habitat",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Hectares: column{
Name: "hectares",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Jurisdiction: column{
Name: "jurisdiction",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Larvinspectinterval: column{
Name: "larvinspectinterval",
DBType: "smallint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectactiontaken: column{
Name: "lastinspectactiontaken",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectactivity: column{
Name: "lastinspectactivity",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectavglarvae: column{
Name: "lastinspectavglarvae",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectavgpupae: column{
Name: "lastinspectavgpupae",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectbreeding: column{
Name: "lastinspectbreeding",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectconditions: column{
Name: "lastinspectconditions",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectdate: column{
Name: "lastinspectdate",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectfieldspecies: column{
Name: "lastinspectfieldspecies",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lastinspectlstages: column{
Name: "lastinspectlstages",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lasttreatactivity: column{
Name: "lasttreatactivity",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lasttreatdate: column{
Name: "lasttreatdate",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lasttreatproduct: column{
Name: "lasttreatproduct",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lasttreatqty: column{
Name: "lasttreatqty",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Lasttreatqtyunit: column{
Name: "lasttreatqtyunit",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LengthFT: column{
Name: "length_ft",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LengthMeters: column{
Name: "length_meters",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Locationnumber: column{
Name: "locationnumber",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Name: column{
Name: "name",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Nextactiondatescheduled: column{
Name: "nextactiondatescheduled",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Objectid: column{
Name: "objectid",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Priority: column{
Name: "priority",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Symbology: column{
Name: "symbology",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
ShapeLength: column{
Name: "shape__length",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Usetype: column{
Name: "usetype",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Waterorigin: column{
Name: "waterorigin",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
WidthFT: column{
Name: "width_ft",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
WidthMeters: column{
Name: "width_meters",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Zone: column{
Name: "zone",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Zone2: column{
Name: "zone2",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
CreatedDate: column{
Name: "created_date",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
CreatedUser: column{
Name: "created_user",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
GeometryX: column{
Name: "geometry_x",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
GeometryY: column{
Name: "geometry_y",
DBType: "double precision",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LastEditedDate: column{
Name: "last_edited_date",
DBType: "bigint",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
LastEditedUser: column{
Name: "last_edited_user",
DBType: "text",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
Updated: column{
Name: "updated",
DBType: "timestamp without time zone",
Default: "CURRENT_TIMESTAMP",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: fsLinelocationIndexes{
FSLinelocationPkey: index{
Type: "btree",
Name: "fs_linelocation_pkey",
Columns: []indexColumn{
{
Name: "objectid",
Desc: null.FromCond(false, true),
IsExpression: false,
},
},
Unique: true,
Comment: "",
NullsFirst: []bool{false},
NullsDistinct: false,
Where: "",
Include: []string{},
},
},
PrimaryKey: &constraint{
Name: "fs_linelocation_pkey",
Columns: []string{"objectid"},
Comment: "",
},
ForeignKeys: fsLinelocationForeignKeys{
FSLinelocationFSLinelocationOrganizationIDFkey: foreignKey{
constraint: constraint{
Name: "fs_linelocation.fs_linelocation_organization_id_fkey",
Columns: []string{"organization_id"},
Comment: "",
},
ForeignTable: "organization",
ForeignColumns: []string{"id"},
},
},
Comment: "",
}
type fsLinelocationColumns struct {
OrganizationID column
Accessdesc column
Acres column
Active column
Comments column
Creationdate column
Creator column
Description column
Externalid column
Editdate column
Editor column
Globalid column
Habitat column
Hectares column
Jurisdiction column
Larvinspectinterval column
Lastinspectactiontaken column
Lastinspectactivity column
Lastinspectavglarvae column
Lastinspectavgpupae column
Lastinspectbreeding column
Lastinspectconditions column
Lastinspectdate column
Lastinspectfieldspecies column
Lastinspectlstages column
Lasttreatactivity column
Lasttreatdate column
Lasttreatproduct column
Lasttreatqty column
Lasttreatqtyunit column
LengthFT column
LengthMeters column
Locationnumber column
Name column
Nextactiondatescheduled column
Objectid column
Priority column
Symbology column
ShapeLength column
Usetype column
Waterorigin column
WidthFT column
WidthMeters column
Zone column
Zone2 column
CreatedDate column
CreatedUser column
GeometryX column
GeometryY column
LastEditedDate column
LastEditedUser column
Updated column
}
func (c fsLinelocationColumns) AsSlice() []column {
return []column{
c.OrganizationID, c.Accessdesc, c.Acres, c.Active, c.Comments, c.Creationdate, c.Creator, c.Description, c.Externalid, c.Editdate, c.Editor, c.Globalid, c.Habitat, c.Hectares, c.Jurisdiction, c.Larvinspectinterval, c.Lastinspectactiontaken, c.Lastinspectactivity, c.Lastinspectavglarvae, c.Lastinspectavgpupae, c.Lastinspectbreeding, c.Lastinspectconditions, c.Lastinspectdate, c.Lastinspectfieldspecies, c.Lastinspectlstages, c.Lasttreatactivity, c.Lasttreatdate, c.Lasttreatproduct, c.Lasttreatqty, c.Lasttreatqtyunit, c.LengthFT, c.LengthMeters, c.Locationnumber, c.Name, c.Nextactiondatescheduled, c.Objectid, c.Priority, c.Symbology, c.ShapeLength, c.Usetype, c.Waterorigin, c.WidthFT, c.WidthMeters, c.Zone, c.Zone2, c.CreatedDate, c.CreatedUser, c.GeometryX, c.GeometryY, c.LastEditedDate, c.LastEditedUser, c.Updated,
}
}
type fsLinelocationIndexes struct {
FSLinelocationPkey index
}
func (i fsLinelocationIndexes) AsSlice() []index {
return []index{
i.FSLinelocationPkey,
}
}
type fsLinelocationForeignKeys struct {
FSLinelocationFSLinelocationOrganizationIDFkey foreignKey
}
func (f fsLinelocationForeignKeys) AsSlice() []foreignKey {
return []foreignKey{
f.FSLinelocationFSLinelocationOrganizationIDFkey,
}
}
type fsLinelocationUniques struct{}
func (u fsLinelocationUniques) AsSlice() []constraint {
return []constraint{}
}
type fsLinelocationChecks struct{}
func (c fsLinelocationChecks) AsSlice() []check {
return []check{}
}