cm_contracts_return.go 1.3 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. * @description:
  3. * @Author: CP
  4. * @Date: 2020-11-26 11:30:27
  5. * @FilePath: \construction_management\models\cm_contracts_return.go
  6. */
  7. package models
  8. import (
  9. "time"
  10. )
  11. type CmContractsReturn struct {
  12. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  13. ContractsId int `xorm:"not null default 0 comment('合同ID') INT(11)"`
  14. ProjectId int `xorm:"not null default 0 comment('项目ID') INT(11)"`
  15. BidsectionId int `xorm:"not null default 0 comment('标段ID') INT(11)"`
  16. TreeId int `xorm:"not null default 0 comment('项目节ID') INT(11)"`
  17. Time time.Time `xorm:"comment('回款日期') DATETIME"`
  18. Price string `xorm:"default 0.00 comment('回款金额') DECIMAL(12,2)"`
  19. Way string `xorm:"comment('回款方式') VARCHAR(32)"`
  20. CreateUser string `xorm:"comment('创建人') VARCHAR(32)"`
  21. AccountId int `xorm:"not null default '0' comment('项目用户ID') VARCHAR(32)"`
  22. Remarks string `xorm:"comment('备注') VARCHAR(512)"`
  23. Annexes int `xorm:"default 0 comment('附件数量') TINYINT(2)"`
  24. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  25. UpdateTime time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') TIMESTAMP"`
  26. }