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 TableNamePsPage = "ps_page"
// PsPage mapped from table <ps_page>
type PsPage struct {
IDPage int32 `gorm:"column:id_page;primaryKey;autoIncrement:true" json:"id_page"`
IDPageType int32 `gorm:"column:id_page_type;not null;index:id_page_type,priority:1" json:"id_page_type"`
IDObject *int32 `gorm:"column:id_object;index:id_object,priority:1" json:"id_object"`
}
// TableName PsPage's table name
func (*PsPage) TableName() string {
return TableNamePsPage
}
var PsPageCols = struct {
IDPage gormcol.Field
IDPageType gormcol.Field
IDObject gormcol.Field
}{
IDPage: gormcol.Field{}.Set((&PsPage{}).TableName(), "id_page"),
IDPageType: gormcol.Field{}.Set((&PsPage{}).TableName(), "id_page_type"),
IDObject: gormcol.Field{}.Set((&PsPage{}).TableName(), "id_object"),
}