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,44 @@
// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import (
"git.ma-al.com/goc_marek/gormcol"
"time"
)
const TableNamePsInpostDispatchOrder = "ps_inpost_dispatch_order"
// PsInpostDispatchOrder mapped from table <ps_inpost_dispatch_order>
type PsInpostDispatchOrder struct {
IDDispatchOrder int32 `gorm:"column:id_dispatch_order;primaryKey;autoIncrement:true" json:"id_dispatch_order"`
IDDispatchPoint *int32 `gorm:"column:id_dispatch_point;index:id_dispatch_point,priority:1" json:"id_dispatch_point"`
ShipxDispatchOrderID int32 `gorm:"column:shipx_dispatch_order_id;not null" json:"shipx_dispatch_order_id"`
Number *int32 `gorm:"column:number" json:"number"`
Status *string `gorm:"column:status" json:"status"`
Price *float64 `gorm:"column:price" json:"price"`
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
}
// TableName PsInpostDispatchOrder's table name
func (*PsInpostDispatchOrder) TableName() string {
return TableNamePsInpostDispatchOrder
}
var PsInpostDispatchOrderCols = struct {
IDDispatchOrder gormcol.Field
IDDispatchPoint gormcol.Field
ShipxDispatchOrderID gormcol.Field
Number gormcol.Field
Status gormcol.Field
Price gormcol.Field
DateAdd gormcol.Field
}{
IDDispatchOrder: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "id_dispatch_order"),
IDDispatchPoint: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "id_dispatch_point"),
ShipxDispatchOrderID: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "shipx_dispatch_order_id"),
Number: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "number"),
Status: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "status"),
Price: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "price"),
DateAdd: gormcol.Field{}.Set((&PsInpostDispatchOrder{}).TableName(), "date_add"),
}