Files
b2b/app/model/dbmodel/ps_supply_order_state.go
2026-03-30 01:02:02 +02:00

42 lines
1.8 KiB
Go

// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsSupplyOrderState = "ps_supply_order_state"
// PsSupplyOrderState mapped from table <ps_supply_order_state>
type PsSupplyOrderState struct {
IDSupplyOrderState int32 `gorm:"column:id_supply_order_state;primaryKey;autoIncrement:true" json:"id_supply_order_state"`
DeliveryNote bool `gorm:"column:delivery_note;not null" json:"delivery_note"`
Editable bool `gorm:"column:editable;not null" json:"editable"`
ReceiptState bool `gorm:"column:receipt_state;not null" json:"receipt_state"`
PendingReceipt bool `gorm:"column:pending_receipt;not null" json:"pending_receipt"`
Enclosed bool `gorm:"column:enclosed;not null" json:"enclosed"`
Color *string `gorm:"column:color" json:"color"`
}
// TableName PsSupplyOrderState's table name
func (*PsSupplyOrderState) TableName() string {
return TableNamePsSupplyOrderState
}
var PsSupplyOrderStateCols = struct {
IDSupplyOrderState gormcol.Field
DeliveryNote gormcol.Field
Editable gormcol.Field
ReceiptState gormcol.Field
PendingReceipt gormcol.Field
Enclosed gormcol.Field
Color gormcol.Field
}{
IDSupplyOrderState: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "id_supply_order_state"),
DeliveryNote: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "delivery_note"),
Editable: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "editable"),
ReceiptState: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "receipt_state"),
PendingReceipt: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "pending_receipt"),
Enclosed: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "enclosed"),
Color: gormcol.Field{}.Set((&PsSupplyOrderState{}).TableName(), "color"),
}