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 TableNamePsDpdpolandCountry = "ps_dpdpoland_country"
// PsDpdpolandCountry mapped from table <ps_dpdpoland_country>
type PsDpdpolandCountry struct {
IDDpdpolandCountry int32 `gorm:"column:id_dpdpoland_country;primaryKey;autoIncrement:true" json:"id_dpdpoland_country"`
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
IDCountry int32 `gorm:"column:id_country;not null" json:"id_country"`
Enabled bool `gorm:"column:enabled;not null" json:"enabled"`
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
}
// TableName PsDpdpolandCountry's table name
func (*PsDpdpolandCountry) TableName() string {
return TableNamePsDpdpolandCountry
}
var PsDpdpolandCountryCols = struct {
IDDpdpolandCountry gormcol.Field
IDShop gormcol.Field
IDCountry gormcol.Field
Enabled gormcol.Field
DateAdd gormcol.Field
DateUpd gormcol.Field
}{
IDDpdpolandCountry: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "id_dpdpoland_country"),
IDShop: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "id_shop"),
IDCountry: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "id_country"),
Enabled: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "enabled"),
DateAdd: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "date_add"),
DateUpd: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "date_upd"),
}