一物一码
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.
 
 
 
 
 
 

22 line
1.8 KiB

  1. package model
  2. type SysFeedback struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Pid int `json:"pid" xorm:"not null default 0 comment('父ID') index INT(10)"`
  5. Uid int `json:"uid" xorm:"not null default 0 comment('0官方账号,>0为用户') index INT(10)"`
  6. Title string `json:"title" xorm:"not null default '' comment('标题') VARCHAR(255)"`
  7. Content string `json:"content" xorm:"not null default '' comment('内容') VARCHAR(2000)"`
  8. ImgList string `json:"img_list" xorm:"not null default '' comment('上传图片地址') VARCHAR(2000)"`
  9. Type int `json:"type" xorm:"not null default 0 comment('0功能异常,1优化建议,2其它') TINYINT(1)"`
  10. Platform string `json:"platform" xorm:"not null default 'wx_applet' comment('平台,wx_applet,toutiao_applet,baidu_applet,tiktok_applet,wap,android,ios') VARCHAR(64)"`
  11. AppVersion string `json:"app_version" xorm:"not null default '' comment('应用版本') VARCHAR(32)"`
  12. OsVersion string `json:"os_version" xorm:"not null default '' comment('系统版本') VARCHAR(128)"`
  13. DeviceId string `json:"device_id" xorm:"not null default '' comment('设备唯一ID') VARCHAR(128)"`
  14. DeviceModel string `json:"device_model" xorm:"not null default '' comment('设备型号,如:iPhone 11') VARCHAR(64)"`
  15. Solution string `json:"solution" xorm:"not null default '' comment('分辨率') VARCHAR(32)"`
  16. Ip string `json:"ip" xorm:"not null default '' comment('IP地址') VARCHAR(32)"`
  17. State int `json:"state" xorm:"not null default 0 comment('0未解决,1已回复,2已解决') TINYINT(1)"`
  18. CreateAt int `json:"create_at" xorm:"not null default 0 comment('创建时间') INT(10)"`
  19. UpdateAt int `json:"update_at" xorm:"not null default 0 comment('更新时间') TINYINT(3)"`
  20. }