沈阳玫苑物业管理后端
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.

25 lines
2.1 KiB

  1. package models
  2. type CSurveysheetSubjectlst struct {
  3. Cid int `json:"cid" xorm:"not null pk comment('公司ID') INT(11)"`
  4. Cnr int `json:"cnr" xorm:"not null pk comment('小区编号') INT(11)"`
  5. Surveysheetid string `json:"surveysheetid" xorm:"not null pk comment('调研问卷流水号') VARCHAR(40)"`
  6. Subjectid string `json:"subjectid" xorm:"not null pk comment('问题ID') VARCHAR(20)"`
  7. Pos int `json:"pos" xorm:"not null comment('问题在调研问卷中的顺序号') INT(11)"`
  8. Subjecttext string `json:"subjecttext" xorm:"not null comment('题目内容') VARCHAR(255)"`
  9. Subjectpicture string `json:"subjectpicture" xorm:"default 'NULL' comment('题目图片') VARCHAR(255)"`
  10. Subjectvideo string `json:"subjectvideo" xorm:"default 'NULL' comment('题目视频') VARCHAR(255)"`
  11. Subjecttype string `json:"subjecttype" xorm:"default 'NULL' comment('问题类型,单选多选...') VARCHAR(10)"`
  12. SubjectCategoryid string `json:"subject_categoryid" xorm:"not null comment('问题类别') VARCHAR(10)"`
  13. Level int `json:"level" xorm:"not null comment('级别') INT(10)"`
  14. Fsubjectid string `json:"fsubjectid" xorm:"not null comment('父类题目') VARCHAR(10)"`
  15. Condition string `json:"condition" xorm:"not null comment('问题类别') VARCHAR(10)"`
  16. Createtime string `json:"createtime" xorm:"default 'NULL' comment('创建时间') VARCHAR(40)"`
  17. Lastmodifytime string `json:"lastmodifytime" xorm:"default 'NULL' comment('最近更新时间') VARCHAR(40)"`
  18. Lastmodifyby string `json:"lastmodifyby" xorm:"default 'NULL' comment('修改人员') VARCHAR(40)"`
  19. Valst []CSurveysheetOptionlst `json:"valst" xorm:"-"`
  20. }
  21. func (t *CSurveysheetSubjectlst) TableName() string {
  22. return "c_surveysheet_subjectlst"
  23. }