// 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 model import ( "time" ) const TableNameOrdersRegStat = "orders_reg_stat" // OrdersRegStat mapped from table type OrdersRegStat struct { ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` Date string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"` // 订单日期 C1 int64 `gorm:"column:c1;type:bigint(20)" json:"c1"` // 当天付费人数 M1 float64 `gorm:"column:m1;type:decimal(10,2);default:0.00" json:"m1"` // 当天付费金额 C2 int64 `gorm:"column:c2;type:bigint(20)" json:"c2"` // 次日付费人数 M2 float64 `gorm:"column:m2;type:decimal(10,2);default:0.00" json:"m2"` // 次日付费金额 C3 int64 `gorm:"column:c3;type:bigint(20)" json:"c3"` // 3日付费人数 M3 float64 `gorm:"column:m3;type:decimal(10,2);default:0.00" json:"m3"` // 3日付费金额 C4 int64 `gorm:"column:c4;type:bigint(20)" json:"c4"` // 4日付费人数 M4 float64 `gorm:"column:m4;type:decimal(10,2);default:0.00" json:"m4"` // 4日付费金额 C5 int64 `gorm:"column:c5;type:bigint(20)" json:"c5"` // 5日付费人数 M5 float64 `gorm:"column:m5;type:decimal(10,2);default:0.00" json:"m5"` // 5日付费金额 C6 int64 `gorm:"column:c6;type:bigint(20)" json:"c6"` // 6日付费人数 M6 float64 `gorm:"column:m6;type:decimal(10,2);default:0.00" json:"m6"` // 6日付费金额 C7 int64 `gorm:"column:c7;type:bigint(20)" json:"c7"` // 7日付费人数 M7 float64 `gorm:"column:m7;type:decimal(10,2);default:0.00" json:"m7"` // 7日付费金额 U7 int64 `gorm:"column:u7;type:bigint(20)" json:"u7"` // 7日去重付费人数 CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null;index:created_at,priority:1" json:"created_at"` // 创建时间 ChannelID string `gorm:"column:channel_id;type:varchar(128);default:0" json:"channel_id"` // 渠道ID ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID } // TableName OrdersRegStat's table name func (*OrdersRegStat) TableName() string { return TableNameOrdersRegStat }