// 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 TableNameFissionTotalCycle = "fission_total_cycle" // FissionTotalCycle mapped from table type FissionTotalCycle struct { ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;comment:活动id(fission_campaign表)" json:"campaign_id"` StatTime int64 `gorm:"column:stat_time;type:bigint;not null;comment:统计时间" json:"stat_time"` StatType int8 `gorm:"column:stat_type;type:tinyint;not null;comment:统计类型(1-小时,2-天)" json:"stat_type"` Mark string `gorm:"column:mark;type:varchar(32);not null;comment:用户行为标识" json:"mark"` Num int64 `gorm:"column:num;type:bigint;not null;comment:次数" json:"num"` UserNum int64 `gorm:"column:user_num;type:bigint;not null;comment:人数" json:"user_num"` BehaviorType int32 `gorm:"column:behavior_type;type:int;not null;comment:用户行为类型" json:"behavior_type"` } // TableName FissionTotalCycle's table name func (*FissionTotalCycle) TableName() string { return TableNameFissionTotalCycle }