// 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 TableNameFissionUserStat = "fission_user_stat" // FissionUserStat mapped from table type FissionUserStat 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"` IsDel uint8 `gorm:"column:is_del;type:tinyint unsigned;not null;comment:是否已删除(1-是,0-否)" json:"is_del"` UserID int64 `gorm:"column:user_id;type:bigint;not null;index:idx_user_id,priority:1;comment:活动用户ID(fission_user表主键)" json:"user_id"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id,priority:1;comment:活动ID(fission_campaign表)" json:"campaign_id"` DirectNum int64 `gorm:"column:direct_num;type:bigint;not null;comment:直接裂变人数" json:"direct_num"` IndirectNum int64 `gorm:"column:indirect_num;type:bigint;not null;comment:间接裂变人数" json:"indirect_num"` EffectiveNum int64 `gorm:"column:effective_num;type:bigint;not null;comment:有效邀请人数" json:"effective_num"` IndirectEffectiveNum int64 `gorm:"column:indirect_effective_num;type:bigint;not null;comment:间接有效邀请人数" json:"indirect_effective_num"` TargetNum int64 `gorm:"column:target_num;type:bigint;not null;comment:达标次数" json:"target_num"` IndirectTargetNum int64 `gorm:"column:indirect_target_num;type:bigint;not null;comment:间接达标次数" json:"indirect_target_num"` SignNum int64 `gorm:"column:sign_num;type:bigint;not null;comment:签到次数" json:"sign_num"` SignRewardNum int64 `gorm:"column:sign_reward_num;type:bigint;not null;comment:领奖签到奖次数" json:"sign_reward_num"` GrowNum int64 `gorm:"column:grow_num;type:bigint;not null;comment:领养次数" json:"grow_num"` GrowRewardNum int64 `gorm:"column:grow_reward_num;type:bigint;not null;comment:养成次数" json:"grow_reward_num"` HelpNum int64 `gorm:"column:help_num;type:bigint;not null;comment:助力次数" json:"help_num"` } // TableName FissionUserStat's table name func (*FissionUserStat) TableName() string { return TableNameFissionUserStat }