You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// 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 TableNameFissionCampaignGrow = "fission_campaign_grow"
// FissionCampaignGrow mapped from table <fission_campaign_grow>
type FissionCampaignGrow 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" json:"campaign_id" `
AutoHour int32 ` gorm:"column:auto_hour;type:int;not null;comment:自动生产成长道具小时数" json:"auto_hour" `
AutoNum int32 ` gorm:"column:auto_num;type:int;not null;comment:生产的成长道具数" json:"auto_num" `
GrowNum int32 ` gorm:"column:grow_num;type:int;not null;comment:邀请可获得的成长道具数量" json:"grow_num" `
TargetNum int32 ` gorm:"column:target_num;type:int;not null;comment:获得成长道具需要邀请的人数" json:"target_num" `
Revive int8 ` gorm:"column:revive;type:tinyint;not null;comment:是否支持复活( 0-否, 1-是)" json:"revive" `
ReviveNum int32 ` gorm:"column:revive_num;type:int;not null;comment:复活需要邀请的好友数" json:"revive_num" `
DieHour int32 ` gorm:"column:die_hour;type:int;not null;comment:未获得成长道具导致的死亡时间" json:"die_hour" `
InitNum int32 ` gorm:"column:init_num;type:int;not null;comment:初始成长道具数量" json:"init_num" `
}
// TableName FissionCampaignGrow's table name
func ( * FissionCampaignGrow ) TableName ( ) string {
return TableNameFissionCampaignGrow
}