24 lines
944 B
Go
24 lines
944 B
Go
// 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 prestadb
|
|
|
|
const TableNamePsState = "ps_state"
|
|
|
|
// PsState mapped from table <ps_state>
|
|
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
|
|
}
|