Browse Source

update happy_orchard_seed

master
dengbiao 6 months ago
parent
commit
233c0d4862
1 changed files with 12 additions and 7 deletions
  1. +12
    -7
      src/models/happy_orchard_seed.go

+ 12
- 7
src/models/happy_orchard_seed.go View File

@@ -7,13 +7,18 @@ type HappyOrchardSeed struct {
SeedImgUrl string `json:"seed_img_url" xorm:"not null default '' comment('种子图片地址') VARCHAR(255)"`
SeedMatureImgUrl string `json:"seed_mature_img_url" xorm:"not null default '' comment('种子成熟后图片地址') VARCHAR(255)"`
Sort int `json:"sort" xorm:"not null default 0 comment('排序') INT(11)"`
NeedWatersNumForStage0 int `json:"need_waters_num_for_stage_0" xorm:"need_waters_num_for_stage_0 not null default 0 comment('阶段1所需水滴数') INT(11)"`
NeedWatersNumForStage1 int `json:"need_waters_num_for_stage_1" xorm:"need_waters_num_for_stage_1 not null default 0 comment('阶段2所需水滴数') INT(11)"`
NeedWatersNumForStage2 int `json:"need_waters_num_for_stage_2" xorm:"need_waters_num_for_stage_2 not null default 0 comment('阶段3所需水滴数') INT(11)"`
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)"`
IsUse int32 `json:"is_use" xorm:"not null default 1 comment('是否可用(1:可用 2:不可用)') INT(11)"`
NeedWatersNumForStage0 int `json:"need_waters_num_for_stage_0" xorm:"not null default 0 comment('阶段1所需水滴数') INT(11)"`
NeedWatersNumForStage1 int `json:"need_waters_num_for_stage_1" xorm:"not null default 0 comment('阶段2所需水滴数') INT(11)"`
NeedWatersNumForStage2 int `json:"need_waters_num_for_stage_2" xorm:"not null default 0 comment('阶段3所需水滴数') INT(11)"`
NeedWatersNumForStage3 int `json:"need_waters_num_for_stage_3" xorm:"not null default 0 comment('阶段4所需水滴数') INT(11)"`
NeedWatersNumForStage4 int `json:"need_waters_num_for_stage_4" xorm:"not null default 0 comment('阶段5所需水滴数') INT(11)"`
NeedWatersNumForStage5 int `json:"need_waters_num_for_stage_5" xorm:"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)"`
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"`
}

Loading…
Cancel
Save