cm_rectification.go 866 B

123456789101112131415161718
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmRectification struct {
  6. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  7. ProjectId int `xorm:"not null default 0 comment('项目ID') INT(11)"`
  8. BidsectionId int `xorm:"not null default 0 comment('标段id') INT(11)"`
  9. DataType int `xorm:"not null default 1 comment('数据类型(1安全2质量)') TINYINT(1)"`
  10. DataId int `xorm:"comment('数据ID') INT(11)"`
  11. Status int `xorm:"comment('状态(0未完成1完成)') TINYINT(1)"`
  12. Content string `xorm:"comment('内容') VARCHAR(3072)"`
  13. RectifiedTime time.Time `xorm:"comment('整改时间') DATETIME"`
  14. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  15. UpdateTime time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') TIMESTAMP"`
  16. }