fix products listing

This commit is contained in:
2026-03-27 23:17:21 +01:00
parent ec05101037
commit 9ec329b1d6
429 changed files with 9816 additions and 3774 deletions

View File

@@ -0,0 +1,41 @@
// 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"),
}