You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
3.4 KiB
Go
37 lines
3.4 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 model
|
|
|
|
const TableNameFissionStatCycle = "fission_stat_cycle"
|
|
|
|
// FissionStatCycle mapped from table <fission_stat_cycle>
|
|
type FissionStatCycle struct {
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" json:"id"`
|
|
StatTime int64 `gorm:"column:stat_time;type:bigint;not null;uniqueIndex:idx_campaign_stat,priority:3;index:idx_stat,priority:1;comment:统计时间" json:"stat_time"`
|
|
StatType int8 `gorm:"column:stat_type;type:tinyint;not null;uniqueIndex:idx_campaign_stat,priority:2;comment:统计类型: 1小时统计 2天统计" json:"stat_type"`
|
|
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;uniqueIndex:idx_campaign_stat,priority:1;comment:活动id" json:"campaign_id"`
|
|
ViewNum int64 `gorm:"column:view_num;type:bigint;not null;comment:浏览活动页面次数" json:"view_num"`
|
|
ViewUserNum int64 `gorm:"column:view_user_num;type:bigint;not null;comment:浏览活动页面人数" json:"view_user_num"`
|
|
ButtonClickNum int64 `gorm:"column:button_click_num;type:bigint;not null;comment:活动按钮点击次数" json:"button_click_num"`
|
|
ButtonClickUserNum int64 `gorm:"column:button_click_user_num;type:bigint;not null;comment:活动按钮点击人数" json:"button_click_user_num"`
|
|
ShareNum int64 `gorm:"column:share_num;type:bigint;not null;comment:活动分享按钮点击次数" json:"share_num"`
|
|
ShareUserNum int64 `gorm:"column:share_user_num;type:bigint;not null;comment:活动分享按钮点击人数" json:"share_user_num"`
|
|
ViewDownloadNum int64 `gorm:"column:view_download_num;type:bigint;not null;comment:浏览下载页次数" json:"view_download_num"`
|
|
ViewDownloadUserNum int64 `gorm:"column:view_download_user_num;type:bigint;not null;comment:浏览下载页人数" json:"view_download_user_num"`
|
|
ClickDownloadNum int64 `gorm:"column:click_download_num;type:bigint;not null;comment:点击下载按钮次数" json:"click_download_num"`
|
|
ClickDownloadUserNum int64 `gorm:"column:click_download_user_num;type:bigint;not null;comment:点击下载按钮人数" json:"click_download_user_num"`
|
|
ViewWechatNum int64 `gorm:"column:view_wechat_num;type:bigint;not null;comment:微信页访问次数" json:"view_wechat_num"`
|
|
ViewWechatUserNum int64 `gorm:"column:view_wechat_user_num;type:bigint;not null;comment:微信页访问人数" json:"view_wechat_user_num"`
|
|
InstallNum int64 `gorm:"column:install_num;type:bigint;not null;comment:通过活动安装次数" json:"install_num"`
|
|
InstallUserNum int64 `gorm:"column:install_user_num;type:bigint;not null;comment:通过活动安装人数" json:"install_user_num"`
|
|
ViewDownloadWechatNum int64 `gorm:"column:view_download_wechat_num;type:bigint;not null;comment:浏览通过微信分享打开的下载页次数" json:"view_download_wechat_num"`
|
|
ViewDownloadWechatUserNum int64 `gorm:"column:view_download_wechat_user_num;type:bigint;not null;comment:浏览通过微信分享打开的下载页人数" json:"view_download_wechat_user_num"`
|
|
}
|
|
|
|
// TableName FissionStatCycle's table name
|
|
func (*FissionStatCycle) TableName() string {
|
|
return TableNameFissionStatCycle
|
|
}
|