一物一码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

app_release.go 840 B

1234567891011121314
  1. package model
  2. type AppRelease struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(10)"`
  4. Version string `json:"version" xorm:"not null default '' VARCHAR(255)"`
  5. Os int `json:"os" xorm:"comment('系统:1.Android;2.ios') TINYINT(1)"`
  6. Memo string `json:"memo" xorm:"TEXT"`
  7. Src string `json:"src" xorm:"VARCHAR(255)"`
  8. CreatedAt int `json:"created_at" xorm:"INT(11)"`
  9. State int `json:"state" xorm:"not null default 1 comment('版本状态:0关 1开') TINYINT(1)"`
  10. UpdateNotice int `json:"update_notice" xorm:"not null default 1 comment('更新提醒:0关 1开') TINYINT(1)"`
  11. YybUrl string `json:"yyb_url" xorm:"comment('应用宝url') VARCHAR(255)"`
  12. ForceUpdate int `json:"force_update" xorm:"comment('强制更新(安卓)') TINYINT(1)"`
  13. }