cm_tree_contracts.go 1.1 KB

1234567891011121314151617181920212223
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmTreeContracts struct {
  6. Id int `xorm:"not null pk comment('自增ID') INT(11)"`
  7. TreeId int `xorm:"not null comment('树ID') INT(11)"`
  8. ParentId int `xorm:"not null comment('父级ID') INT(11)"`
  9. Name string `xorm:"not null comment('名称') VARCHAR(64)"`
  10. Code string `xorm:"comment('项目节编号') VARCHAR(32)"`
  11. Code2 string `xorm:"comment('项目节编号2') VARCHAR(512)"`
  12. Depth int `xorm:"not null comment('深度') TINYINT(4)"`
  13. Serial int `xorm:"not null comment('序号') INT(11)"`
  14. Attribution string `xorm:"comment('归属') VARCHAR(32)"`
  15. Sort int `xorm:"not null comment('排序') TINYINT(4)"`
  16. ContractId int `xorm:"not null comment('pdf ID') INT(11)"`
  17. ContractId2 int `xorm:"not null comment('excel ID') INT(11)"`
  18. ContractName string `xorm:"comment('合同名称') VARCHAR(64)"`
  19. ContractCode string `xorm:"comment('合同编号') VARCHAR(32)"`
  20. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  21. }