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"
const TableNamePsManufacturerLang = "ps_manufacturer_lang"
// PsManufacturerLang mapped from table <ps_manufacturer_lang>
type PsManufacturerLang struct {
IDManufacturer int32 `gorm:"column:id_manufacturer;primaryKey" json:"id_manufacturer"`
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
Description *string `gorm:"column:description" json:"description"`
ShortDescription *string `gorm:"column:short_description" json:"short_description"`
MetaTitle *string `gorm:"column:meta_title" json:"meta_title"`
MetaKeywords *string `gorm:"column:meta_keywords" json:"meta_keywords"`
MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
}
// TableName PsManufacturerLang's table name
func (*PsManufacturerLang) TableName() string {
return TableNamePsManufacturerLang
}
var PsManufacturerLangCols = struct {
IDManufacturer gormcol.Field
IDLang gormcol.Field
Description gormcol.Field
ShortDescription gormcol.Field
MetaTitle gormcol.Field
MetaKeywords gormcol.Field
MetaDescription gormcol.Field
}{
IDManufacturer: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "id_manufacturer"),
IDLang: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "id_lang"),
Description: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "description"),
ShortDescription: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "short_description"),
MetaTitle: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "meta_title"),
MetaKeywords: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "meta_keywords"),
MetaDescription: gormcol.Field{}.Set((&PsManufacturerLang{}).TableName(), "meta_description"),
}