Files
gormcol/app/model/dbmodel/ps_order_state.go

65 lines
2.9 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 dbmodel
import "git.ma-al.com/goc_marek/gormcol"
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
}
var PsOrderStateCols = struct {
IDOrderState gormcol.Field
Invoice gormcol.Field
SendEmail gormcol.Field
ModuleName gormcol.Field
Color gormcol.Field
Unremovable gormcol.Field
Hidden gormcol.Field
Logable gormcol.Field
Delivery gormcol.Field
Shipped gormcol.Field
Paid gormcol.Field
PdfInvoice gormcol.Field
PdfDelivery gormcol.Field
Deleted gormcol.Field
}{
IDOrderState: gormcol.Field{Table: TableNamePsOrderState, Column: "id_order_state"},
Invoice: gormcol.Field{Table: TableNamePsOrderState, Column: "invoice"},
SendEmail: gormcol.Field{Table: TableNamePsOrderState, Column: "send_email"},
ModuleName: gormcol.Field{Table: TableNamePsOrderState, Column: "module_name"},
Color: gormcol.Field{Table: TableNamePsOrderState, Column: "color"},
Unremovable: gormcol.Field{Table: TableNamePsOrderState, Column: "unremovable"},
Hidden: gormcol.Field{Table: TableNamePsOrderState, Column: "hidden"},
Logable: gormcol.Field{Table: TableNamePsOrderState, Column: "logable"},
Delivery: gormcol.Field{Table: TableNamePsOrderState, Column: "delivery"},
Shipped: gormcol.Field{Table: TableNamePsOrderState, Column: "shipped"},
Paid: gormcol.Field{Table: TableNamePsOrderState, Column: "paid"},
PdfInvoice: gormcol.Field{Table: TableNamePsOrderState, Column: "pdf_invoice"},
PdfDelivery: gormcol.Field{Table: TableNamePsOrderState, Column: "pdf_delivery"},
Deleted: gormcol.Field{Table: TableNamePsOrderState, Column: "deleted"},
}