diff --git a/src/models/happy_orchard_seed.go b/src/models/happy_orchard_seed.go index f78e5da..15f0c2b 100644 --- a/src/models/happy_orchard_seed.go +++ b/src/models/happy_orchard_seed.go @@ -13,11 +13,11 @@ type HappyOrchardSeed struct { NeedWatersNumForStage3 int `json:"need_waters_num_for_stage_3" xorm:"need_waters_num_for_stage_3 not null default 0 comment('阶段4所需水滴数') INT(11)"` NeedWatersNumForStage4 int `json:"need_waters_num_for_stage_4" xorm:"need_waters_num_for_stage_4 not null default 0 comment('阶段5所需水滴数') INT(11)"` NeedWatersNumForStage5 int `json:"need_waters_num_for_stage_5" xorm:"need_waters_num_for_stage_5 not null default 0 comment('阶段6所需水滴数') INT(11)"` - ImageForStage0 string `json:"image_for_stage_0" xorm:"not null default '' comment('阶段1~2树苗图片') VARCHAR(255)"` - ImageForStage1 string `json:"image_for_stage_1" xorm:"not null default '' comment('阶段2~3树苗图片') VARCHAR(255)"` - ImageForStage2 string `json:"image_for_stage_2" xorm:"not null default '' comment('阶段3~4树苗图片') VARCHAR(255)"` - ImageForStage3 string `json:"image_for_stage_3" xorm:"not null default '' comment('阶段4~5树苗图片') VARCHAR(255)"` - ImageForStage4 string `json:"image_for_stage_4" xorm:"not null default '' comment('阶段5~6树苗图片') VARCHAR(255)"` + ImageForStage0 string `json:"image_for_stage_0" xorm:"image_for_stage_0 not null default '' comment('阶段1~2树苗图片') VARCHAR(255)"` + ImageForStage1 string `json:"image_for_stage_1" xorm:"image_for_stage_1 not null default '' comment('阶段2~3树苗图片') VARCHAR(255)"` + ImageForStage2 string `json:"image_for_stage_2" xorm:"image_for_stage_2 not null default '' comment('阶段3~4树苗图片') VARCHAR(255)"` + ImageForStage3 string `json:"image_for_stage_3" xorm:"image_for_stage_3 not null default '' comment('阶段4~5树苗图片') VARCHAR(255)"` + ImageForStage4 string `json:"image_for_stage_4" xorm:"image_for_stage_4 not null default '' comment('阶段5~6树苗图片') VARCHAR(255)"` IsUse int `json:"is_use" xorm:"not null default 1 comment('是否可用(1:可用 2:不可用)') TINYINT(1)"` CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`