cm_rectification.go 889 B

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