cm_bidsection.go 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmBidsection struct {
  6. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  7. Name string `xorm:"comment('名称') VARCHAR(128)"`
  8. Status int `xorm:"comment('状态') TINYINT(1)"`
  9. ProjectId int `xorm:"comment('项目id') INT(11)"`
  10. UserId int `xorm:"comment('用户id') INT(11)"`
  11. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  12. Category string `xorm:"comment('分类属性') VARCHAR(1024)"`
  13. Type int `xorm:"comment('标段类型') TINYINT(2)"`
  14. LedgerTimes int `xorm:"not null default 0 comment('台账审批次数') TINYINT(4)"`
  15. LedgerStatus int `xorm:"not null default 1 comment('台账审批状态') TINYINT(4)"`
  16. MRule string `xorm:"VARCHAR(1024)"`
  17. Times int `xorm:"comment('审批次数') TINYINT(4)"`
  18. CRule string `xorm:"comment('变更令-规则') VARCHAR(1024)"`
  19. CConnector int `xorm:"comment('变更令-连接符') TINYINT(4)"`
  20. CRuleFirst int `xorm:"comment('变更令规则第一次出现') TINYINT(1)"`
  21. MeasureType string `xorm:"VARCHAR(11)"`
  22. SImType string `xorm:"comment('期,中间计量,模式') VARCHAR(11)"`
  23. Cooperation string `xorm:"comment('协作人员和功能列表') TEXT"`
  24. Valuation int `xorm:"comment('计价规范') TINYINT(4)"`
  25. TotalPrice string `xorm:"not null default 0.00 comment('0号台账 -- 金额') DECIMAL(12,2)"`
  26. DealTp string `xorm:"not null default 0.00 comment('签约 -- 金额') DECIMAL(12,2)"`
  27. Uuid string `xorm:"comment('更新时间') VARCHAR(64)"`
  28. Isdelete int `xorm:"default 0 comment('1删除') TINYINT(1)"`
  29. }