add models generation and josn print
This commit is contained in:
22
app/model/prestadb/ps_layered_price_index.go
Normal file
22
app/model/prestadb/ps_layered_price_index.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user