// Code generated by gormcol. DO NOT EDIT. package dbmodel import "git.ma-al.com/goc_marek/gormcol" const TableNamePsOrderState = "ps_order_state" // PsOrderState mapped from table 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{}.Set((&PsOrderState{}).TableName(), "id_order_state"), Invoice: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "invoice"), SendEmail: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "send_email"), ModuleName: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "module_name"), Color: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "color"), Unremovable: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "unremovable"), Hidden: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "hidden"), Logable: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "logable"), Delivery: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "delivery"), Shipped: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "shipped"), Paid: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "paid"), PdfInvoice: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "pdf_invoice"), PdfDelivery: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "pdf_delivery"), Deleted: gormcol.Field{}.Set((&PsOrderState{}).TableName(), "deleted"), }