27 lines
1.2 KiB
Go
27 lines
1.2 KiB
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 TableNamePsReferrerShop = "ps_referrer_shop"
|
|
|
|
// PsReferrerShop mapped from table <ps_referrer_shop>
|
|
type PsReferrerShop struct {
|
|
IDReferrer int32 `gorm:"column:id_referrer;primaryKey;autoIncrement:true" json:"id_referrer"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
|
|
CacheVisitors *int32 `gorm:"column:cache_visitors" json:"cache_visitors"`
|
|
CacheVisits *int32 `gorm:"column:cache_visits" json:"cache_visits"`
|
|
CachePages *int32 `gorm:"column:cache_pages" json:"cache_pages"`
|
|
CacheRegistrations *int32 `gorm:"column:cache_registrations" json:"cache_registrations"`
|
|
CacheOrders *int32 `gorm:"column:cache_orders" json:"cache_orders"`
|
|
CacheSales *float64 `gorm:"column:cache_sales" json:"cache_sales"`
|
|
CacheRegRate *float64 `gorm:"column:cache_reg_rate" json:"cache_reg_rate"`
|
|
CacheOrderRate *float64 `gorm:"column:cache_order_rate" json:"cache_order_rate"`
|
|
}
|
|
|
|
// TableName PsReferrerShop's table name
|
|
func (*PsReferrerShop) TableName() string {
|
|
return TableNamePsReferrerShop
|
|
}
|