cm_project_message.go 753 B

1234567891011121314151617
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmProjectMessage 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. AccountId int `xorm:"not null default 0 comment('账号ID') INT(11)"`
  10. DataType int `xorm:"not null default 1 comment('数据类型(1安全2质量)') TINYINT(1)"`
  11. DataId int `xorm:"comment('数据ID') INT(11)"`
  12. Title string `xorm:"comment('消息标题') VARCHAR(255)"`
  13. Content string `xorm:"comment('消息内容') TEXT"`
  14. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  15. }