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,29 @@
// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsZone = "ps_zone"
// PsZone mapped from table <ps_zone>
type PsZone struct {
IDZone int32 `gorm:"column:id_zone;primaryKey;autoIncrement:true" json:"id_zone"`
Name string `gorm:"column:name;not null" json:"name"`
Active bool `gorm:"column:active;not null" json:"active"`
}
// TableName PsZone's table name
func (*PsZone) TableName() string {
return TableNamePsZone
}
var PsZoneCols = struct {
IDZone gormcol.Field
Name gormcol.Field
Active gormcol.Field
}{
IDZone: gormcol.Field{}.Set((&PsZone{}).TableName(), "id_zone"),
Name: gormcol.Field{}.Set((&PsZone{}).TableName(), "name"),
Active: gormcol.Field{}.Set((&PsZone{}).TableName(), "active"),
}