Files
b2b/app/model/prestadb/ps_layered_price_index.go

23 lines
987 B
Go

// 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
}