// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package dbmodel import "git.ma-al.com/goc_marek/gormcol" const TableNamePsState = "ps_state" // PsState mapped from table type PsState struct { IDState int32 `gorm:"column:id_state;primaryKey;autoIncrement:true" json:"id_state"` IDCountry int32 `gorm:"column:id_country;not null;index:id_country,priority:1" json:"id_country"` IDZone int32 `gorm:"column:id_zone;not null;index:id_zone,priority:1" json:"id_zone"` Name string `gorm:"column:name;not null;index:name,priority:1" json:"name"` IsoCode string `gorm:"column:iso_code;not null" json:"iso_code"` TaxBehavior int32 `gorm:"column:tax_behavior;not null" json:"tax_behavior"` Active bool `gorm:"column:active;not null" json:"active"` } // TableName PsState's table name func (*PsState) TableName() string { return TableNamePsState } var PsStateCols = struct { IDState gormcol.Field IDCountry gormcol.Field IDZone gormcol.Field Name gormcol.Field IsoCode gormcol.Field TaxBehavior gormcol.Field Active gormcol.Field }{ IDState: gormcol.Field{Table: TableNamePsState, Column: "id_state"}, IDCountry: gormcol.Field{Table: TableNamePsState, Column: "id_country"}, IDZone: gormcol.Field{Table: TableNamePsState, Column: "id_zone"}, Name: gormcol.Field{Table: TableNamePsState, Column: "name"}, IsoCode: gormcol.Field{Table: TableNamePsState, Column: "iso_code"}, TaxBehavior: gormcol.Field{Table: TableNamePsState, Column: "tax_behavior"}, Active: gormcol.Field{Table: TableNamePsState, Column: "active"}, }