cm_quality_audit.go 912 B

123456789101112131415161718
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmQualityAudit struct {
  6. Id int `xorm:"not null pk autoincr comment('自增id') INT(11)"`
  7. QualityId int `xorm:"not null default 0 comment('质量巡检id') INT(11)"`
  8. BidsectionId int `xorm:"not null default 0 comment('标段id') INT(11)"`
  9. Times int `xorm:"not null default 1 comment('审核次数') INT(11)"`
  10. AuditId int `xorm:"not null default 0 comment('审核人id') INT(11)"`
  11. Status int `xorm:"default 0 comment('状态(0通过1退回2关闭)') INT(11)"`
  12. Progress int `xorm:"not null default 0 comment('审批进度(0上报人1审批2整改3复查)') TINYINT(1)"`
  13. CreateTime time.Time `xorm:"comment('开始时间') DATETIME"`
  14. Opinion string `xorm:"comment('审批意见') VARCHAR(1024)"`
  15. Rectifiedinfo string `xorm:"comment('整改情况') VARCHAR(1024)"`
  16. }