contractEvaluationItems.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package contractEvaluationItems
  2. import (
  3. "time"
  4. )
  5. type OilContractEvaluationItems struct {
  6. Id int `json:"Id" xorm:"not null pk autoincr comment('ID') INT(11) 'Id'"`
  7. Category int `json:"Category" xorm:"default 0 comment('0二级单位创建1专业处创建') INT(11) 'Category'"`
  8. ContentReviewId int `json:"ContentReviewId" xorm:"default 0 comment('评价ID') INT(11) 'ContentReviewId'"`
  9. ItemId int `json:"ItemId" xorm:"not null default 0 comment('当前节点ID') INT(11) 'ItemId'"`
  10. ParentId int `json:"ParentId" xorm:"not null default 0 comment('上级节点ID') INT(11) 'ParentId'"`
  11. SequenceNo string `json:"SequenceNo" xorm:"default '0' comment('序号') VARCHAR(50) 'SequenceNo'"`
  12. Content string `json:"Content" xorm:"comment('评价内容') VARCHAR(1000) 'Content'"`
  13. NormalScore string `json:"NormalScore" xorm:"comment('标准分值') DECIMAL(11,2) 'NormalScore'"`
  14. Score string `json:"Score" xorm:"comment('实得分数') DECIMAL(11,2) 'Score'"`
  15. LevelCode int `json:"LevelCode" xorm:"not null default 0 comment('级别') INT(11) 'LevelCode'"`
  16. Remark string `json:"Remark" xorm:"comment('备注') VARCHAR(500) 'Remark'"`
  17. ModifiedOn time.Time `json:"ModifiedOn" xorm:"DATETIME 'ModifiedOn'"`
  18. ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"`
  19. ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"`
  20. }
  21. type EvaluationItems struct {
  22. Id int `json:"Id"`
  23. ParentId int `json:"ParentId"`
  24. SequenceNo string `json:"SequenceNo"`
  25. Content string `json:"Content"`
  26. NormalScore string `json:"NormalScore"`
  27. Score string `json:"Score"`
  28. LevelCode int `json:"LevelCode"`
  29. Remark string `json:"Remark"`
  30. IsDelete int `json:"IsDelete"`
  31. CreateOn time.Time `json:"CreateOn"`
  32. CreateUserId int `json:"CreateUserId"`
  33. CreateBy string `json:"CreateBy"`
  34. ModifiedOn time.Time `json:"ModifiedOn"`
  35. ModifiedUserId int `json:"ModifiedUserId"`
  36. ModifiedBy string `json:"ModifiedBy"`
  37. Son []EvaluationItems
  38. }