31 lines
1.4 KiB
Go
31 lines
1.4 KiB
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 TableNamePsOrderState = "ps_order_state"
|
|
|
|
// PsOrderState mapped from table <ps_order_state>
|
|
type PsOrderState struct {
|
|
IDOrderState int32 `gorm:"column:id_order_state;primaryKey;autoIncrement:true" json:"id_order_state"`
|
|
Invoice *bool `gorm:"column:invoice" json:"invoice"`
|
|
SendEmail bool `gorm:"column:send_email;not null" json:"send_email"`
|
|
ModuleName *string `gorm:"column:module_name;index:module_name,priority:1" json:"module_name"`
|
|
Color *string `gorm:"column:color" json:"color"`
|
|
Unremovable bool `gorm:"column:unremovable;not null" json:"unremovable"`
|
|
Hidden bool `gorm:"column:hidden;not null" json:"hidden"`
|
|
Logable bool `gorm:"column:logable;not null" json:"logable"`
|
|
Delivery bool `gorm:"column:delivery;not null" json:"delivery"`
|
|
Shipped bool `gorm:"column:shipped;not null" json:"shipped"`
|
|
Paid bool `gorm:"column:paid;not null" json:"paid"`
|
|
PdfInvoice bool `gorm:"column:pdf_invoice;not null" json:"pdf_invoice"`
|
|
PdfDelivery bool `gorm:"column:pdf_delivery;not null" json:"pdf_delivery"`
|
|
Deleted bool `gorm:"column:deleted;not null" json:"deleted"`
|
|
}
|
|
|
|
// TableName PsOrderState's table name
|
|
func (*PsOrderState) TableName() string {
|
|
return TableNamePsOrderState
|
|
}
|