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,32 @@
// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsSearchWord = "ps_search_word"
// PsSearchWord mapped from table <ps_search_word>
type PsSearchWord struct {
IDWord int32 `gorm:"column:id_word;primaryKey;autoIncrement:true" json:"id_word"`
IDShop int32 `gorm:"column:id_shop;not null;uniqueIndex:id_lang,priority:2;default:1" json:"id_shop"`
IDLang int32 `gorm:"column:id_lang;not null;uniqueIndex:id_lang,priority:1" json:"id_lang"`
Word string `gorm:"column:word;not null;uniqueIndex:id_lang,priority:3" json:"word"`
}
// TableName PsSearchWord's table name
func (*PsSearchWord) TableName() string {
return TableNamePsSearchWord
}
var PsSearchWordCols = struct {
IDWord gormcol.Field
IDShop gormcol.Field
IDLang gormcol.Field
Word gormcol.Field
}{
IDWord: gormcol.Field{}.Set((&PsSearchWord{}).TableName(), "id_word"),
IDShop: gormcol.Field{}.Set((&PsSearchWord{}).TableName(), "id_shop"),
IDLang: gormcol.Field{}.Set((&PsSearchWord{}).TableName(), "id_lang"),
Word: gormcol.Field{}.Set((&PsSearchWord{}).TableName(), "word"),
}