// 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 TableNameFissionChopHelp = "fission_chop_help" // FissionChopHelp mapped from table type FissionChopHelp 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"` 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"` ChopRewardID int64 `gorm:"column:chop_reward_id;type:bigint;not null;uniqueIndex:uniq_chop_reward_id_mark_user_mark,priority:1;comment:选择的奖品id(fission_chop_reward表)" json:"chop_reward_id"` Mark string `gorm:"column:mark;type:varchar(32);not null;uniqueIndex:uniq_chop_reward_id_mark_user_mark,priority:2;comment:助力标识" json:"mark"` Percent float64 `gorm:"column:percent;type:decimal(5,2);not null;default:0.00;comment:助力进度" json:"percent"` UserMark string `gorm:"column:user_mark;type:varchar(255);not null;uniqueIndex:uniq_chop_reward_id_mark_user_mark,priority:3;comment:事件人标识" json:"user_mark"` } // TableName FissionChopHelp's table name func (*FissionChopHelp) TableName() string { return TableNameFissionChopHelp }