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,26 @@
// 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
}