// 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 TableNameFissionCampaignKeep = "fission_campaign_keep" // FissionCampaignKeep mapped from table type FissionCampaignKeep 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;uniqueIndex:uniq_campaign_id,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"` Collect int32 `gorm:"column:collect;type:int;not null;comment:获得最终奖品需要的总收集数" json:"collect"` CollectSecond int32 `gorm:"column:collect_second;type:int;not null;comment:单个收集需要的二级资源数" json:"collect_second"` OpenInvite int8 `gorm:"column:open_invite;type:tinyint;not null;comment:开启邀请(0-关闭,1-开启)" json:"open_invite"` Invite string `gorm:"column:invite;type:varchar(2000);not null;comment:邀请数据" json:"invite"` InitGet int32 `gorm:"column:init_get;type:int;not null;comment:初始道具数" json:"init_get"` SecGet float64 `gorm:"column:sec_get;type:decimal(6,2);not null;default:0.00;comment:每秒获得道具数" json:"sec_get"` FeedNum int32 `gorm:"column:feed_num;type:int;not null;comment:每次使用道具数" json:"feed_num"` FeedCycle int32 `gorm:"column:feed_cycle;type:int;not null;comment:喂养周期(单位:天)" json:"feed_cycle"` TalkText string `gorm:"column:talk_text;type:varchar(2000);not null;comment:对话文案" json:"talk_text"` MaxFeed int32 `gorm:"column:max_feed;type:int;not null;comment:最大可领养次数" json:"max_feed"` FeedGet int32 `gorm:"column:feed_get;type:int;not null;comment:喂养能得到的道具数" json:"feed_get"` FeedGetNum int32 `gorm:"column:feed_get_num;type:int;not null;comment:得到喂养道具需要的喂养次数" json:"feed_get_num"` SecGetDayLimit float64 `gorm:"column:sec_get_day_limit;type:decimal(6,2);not null;default:0.00;comment:每秒获得道具每日上限" json:"sec_get_day_limit"` MachineType int8 `gorm:"column:machine_type;type:tinyint;not null;comment:狗粮机类型(1-在线收益,2-离线收益)" json:"machine_type"` OfflineMin int32 `gorm:"column:offline_min;type:int;not null;comment:离线分钟时长" json:"offline_min"` OfflineGet int32 `gorm:"column:offline_get;type:int;not null;comment:离线收益最大值" json:"offline_get"` OfflineLimit int32 `gorm:"column:offline_limit;type:int;not null;comment:离线收益单日最大领取次数" json:"offline_limit"` } // TableName FissionCampaignKeep's table name func (*FissionCampaignKeep) TableName() string { return TableNameFissionCampaignKeep }