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"
"time"
)
const TableNamePsStatssearch = "ps_statssearch"
// PsStatssearch mapped from table <ps_statssearch>
type PsStatssearch struct {
IDStatssearch int32 `gorm:"column:id_statssearch;primaryKey;autoIncrement:true" json:"id_statssearch"`
IDShop int32 `gorm:"column:id_shop;not null;default:1" json:"id_shop"`
IDShopGroup int32 `gorm:"column:id_shop_group;not null;default:1" json:"id_shop_group"`
Keywords string `gorm:"column:keywords;not null" json:"keywords"`
Results int32 `gorm:"column:results;not null" json:"results"`
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
}
// TableName PsStatssearch's table name
func (*PsStatssearch) TableName() string {
return TableNamePsStatssearch
}
var PsStatssearchCols = struct {
IDStatssearch gormcol.Field
IDShop gormcol.Field
IDShopGroup gormcol.Field
Keywords gormcol.Field
Results gormcol.Field
DateAdd gormcol.Field
}{
IDStatssearch: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "id_statssearch"),
IDShop: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "id_shop"),
IDShopGroup: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "id_shop_group"),
Keywords: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "keywords"),
Results: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "results"),
DateAdd: gormcol.Field{}.Set((&PsStatssearch{}).TableName(), "date_add"),
}