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,29 @@
// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsOrderInvoicePayment = "ps_order_invoice_payment"
// PsOrderInvoicePayment mapped from table <ps_order_invoice_payment>
type PsOrderInvoicePayment struct {
IDOrderInvoice int32 `gorm:"column:id_order_invoice;primaryKey" json:"id_order_invoice"`
IDOrderPayment int32 `gorm:"column:id_order_payment;primaryKey;index:order_payment,priority:1" json:"id_order_payment"`
IDOrder int32 `gorm:"column:id_order;not null;index:id_order,priority:1" json:"id_order"`
}
// TableName PsOrderInvoicePayment's table name
func (*PsOrderInvoicePayment) TableName() string {
return TableNamePsOrderInvoicePayment
}
var PsOrderInvoicePaymentCols = struct {
IDOrderInvoice gormcol.Field
IDOrderPayment gormcol.Field
IDOrder gormcol.Field
}{
IDOrderInvoice: gormcol.Field{}.Set((&PsOrderInvoicePayment{}).TableName(), "id_order_invoice"),
IDOrderPayment: gormcol.Field{}.Set((&PsOrderInvoicePayment{}).TableName(), "id_order_payment"),
IDOrder: gormcol.Field{}.Set((&PsOrderInvoicePayment{}).TableName(), "id_order"),
}