// 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 TableNameFissionDiceProp = "fission_dice_props" // FissionDiceProp mapped from table type FissionDiceProp 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;uniqueIndex:uniq_user_id_ mark,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"` Mark string `gorm:"column:mark;type:varchar(32);not null;uniqueIndex:uniq_user_id_ mark,priority:2;comment:道具标识(chance-再来一次,fixed_roll-固定点数)" json:"mark"` Num int32 `gorm:"column:num;type:int;not null;comment:道具卡数量" json:"num"` TotalNum int32 `gorm:"column:total_num;type:int;not null;comment:道具获得总数" json:"total_num"` } // TableName FissionDiceProp's table name func (*FissionDiceProp) TableName() string { return TableNameFissionDiceProp }