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 TableNamePsTaxRulesGroup = "ps_tax_rules_group"
// PsTaxRulesGroup mapped from table <ps_tax_rules_group>
type PsTaxRulesGroup struct {
IDTaxRulesGroup int32 `gorm:"column:id_tax_rules_group;primaryKey;autoIncrement:true" json:"id_tax_rules_group"`
Name string `gorm:"column:name;not null" json:"name"`
Active int32 `gorm:"column:active;not null" json:"active"`
Deleted bool `gorm:"column:deleted;not null" json:"deleted"`
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 PsTaxRulesGroup's table name
func (*PsTaxRulesGroup) TableName() string {
return TableNamePsTaxRulesGroup
}
var PsTaxRulesGroupCols = struct {
IDTaxRulesGroup gormcol.Field
Name gormcol.Field
Active gormcol.Field
Deleted gormcol.Field
DateAdd gormcol.Field
DateUpd gormcol.Field
}{
IDTaxRulesGroup: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "id_tax_rules_group"),
Name: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "name"),
Active: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "active"),
Deleted: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "deleted"),
DateAdd: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "date_add"),
DateUpd: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "date_upd"),
}