add models generation and josn print

This commit is contained in:
2026-03-26 02:22:14 +01:00
parent 7c5a993623
commit af2b276599
319 changed files with 7394 additions and 27 deletions

View File

@@ -0,0 +1,22 @@
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package prestadb
const TableNamePsLayeredPriceIndex = "ps_layered_price_index"
// PsLayeredPriceIndex mapped from table <ps_layered_price_index>
type PsLayeredPriceIndex struct {
IDProduct int32 `gorm:"column:id_product;primaryKey" json:"id_product"`
IDCurrency int32 `gorm:"column:id_currency;primaryKey;index:id_currency,priority:1" json:"id_currency"`
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
PriceMin float64 `gorm:"column:price_min;not null;index:price_min,priority:1" json:"price_min"`
PriceMax float64 `gorm:"column:price_max;not null;index:price_max,priority:1" json:"price_max"`
IDCountry int32 `gorm:"column:id_country;primaryKey" json:"id_country"`
}
// TableName PsLayeredPriceIndex's table name
func (*PsLayeredPriceIndex) TableName() string {
return TableNamePsLayeredPriceIndex
}