cm_safe.go 1005 B

1234567891011121314151617181920
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmSafe struct {
  6. Id int `xorm:"not null pk autoincr comment('自增id') INT(11)"`
  7. BidsectionId int `xorm:"not null default 0 comment('标段id') INT(11)"`
  8. Code string `xorm:"comment('编号') VARCHAR(128)"`
  9. CreateTime time.Time `xorm:"comment('检查时间') DATETIME"`
  10. EndTime time.Time `xorm:"comment('结束时间') DATETIME"`
  11. Position string `xorm:"comment('检查部位') VARCHAR(1024)"`
  12. Inspection string `xorm:"comment('检查项目') VARCHAR(3072)"`
  13. InspectionDetail string `xorm:"comment('现场检查情况') TEXT"`
  14. Demand string `xorm:"comment('处理要求') VARCHAR(128)"`
  15. Status int `xorm:"default 0 comment('状态(0待审批1通过2退回3关闭)') INT(11)"`
  16. Uid int `xorm:"not null default 0 comment('创建者id') INT(11)"`
  17. Times int `xorm:"default 0 comment('审批次数') INT(11)"`
  18. }