一物一码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
840 B

  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. }