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,44 @@
// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsShopURL = "ps_shop_url"
// PsShopURL mapped from table <ps_shop_url>
type PsShopURL struct {
IDShopURL int32 `gorm:"column:id_shop_url;primaryKey;autoIncrement:true" json:"id_shop_url"`
IDShop int32 `gorm:"column:id_shop;not null;index:id_shop,priority:1" json:"id_shop"`
Domain string `gorm:"column:domain;not null;uniqueIndex:full_shop_url,priority:1" json:"domain"`
DomainSsl string `gorm:"column:domain_ssl;not null;uniqueIndex:full_shop_url_ssl,priority:1" json:"domain_ssl"`
PhysicalURI string `gorm:"column:physical_uri;not null;uniqueIndex:full_shop_url,priority:2;uniqueIndex:full_shop_url_ssl,priority:2" json:"physical_uri"`
VirtualURI string `gorm:"column:virtual_uri;not null;uniqueIndex:full_shop_url,priority:3;uniqueIndex:full_shop_url_ssl,priority:3" json:"virtual_uri"`
Main bool `gorm:"column:main;not null;index:id_shop,priority:2" json:"main"`
Active bool `gorm:"column:active;not null" json:"active"`
}
// TableName PsShopURL's table name
func (*PsShopURL) TableName() string {
return TableNamePsShopURL
}
var PsShopURLCols = struct {
IDShopURL gormcol.Field
IDShop gormcol.Field
Domain gormcol.Field
DomainSsl gormcol.Field
PhysicalURI gormcol.Field
VirtualURI gormcol.Field
Main gormcol.Field
Active gormcol.Field
}{
IDShopURL: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "id_shop_url"),
IDShop: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "id_shop"),
Domain: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "domain"),
DomainSsl: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "domain_ssl"),
PhysicalURI: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "physical_uri"),
VirtualURI: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "virtual_uri"),
Main: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "main"),
Active: gormcol.Field{}.Set((&PsShopURL{}).TableName(), "active"),
}