cm_project.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmProject struct {
  6. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  7. Code string `xorm:"comment('项目编号') VARCHAR(32)"`
  8. EnterpriseId int `xorm:"comment('企业id') INT(11)"`
  9. UserId int `xorm:"comment('管理员id(sso用户)') INT(11)"`
  10. UserAccount string `xorm:"comment('管理员名字(sso用户名)') VARCHAR(32)"`
  11. CategoryId string `xorm:"comment('办事处ID') VARCHAR(64)"`
  12. Category string `xorm:"comment('办事处') VARCHAR(32)"`
  13. StaffId string `xorm:"comment('负责人Id(cld员工)') VARCHAR(64)"`
  14. StaffName string `xorm:"comment('负责人(cld员工)') VARCHAR(32)"`
  15. StaffQq string `xorm:"comment('负责人QQ') VARCHAR(32)"`
  16. StaffPhone string `xorm:"comment('负责人手机') VARCHAR(32)"`
  17. StaffTelephone string `xorm:"comment('负责人座机') VARCHAR(32)"`
  18. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  19. CreateName string `xorm:"comment('创建人') VARCHAR(32)"`
  20. CreateCategory string `xorm:"comment('创建办事处') VARCHAR(32)"`
  21. InsideCategoryid string `xorm:"comment('项目所在办事处Id') VARCHAR(32)"`
  22. InsideCategory string `xorm:"comment('项目所在办事处') VARCHAR(32)"`
  23. JlReciprocate int `xorm:"comment('计量互通(1开启)') TINYINT(4)"`
  24. MaxUser int `xorm:"comment('最大创建用户数(删除)') TINYINT(4)"`
  25. Name string `xorm:"comment('项目名称') VARCHAR(128)"`
  26. Creator int64 `xorm:"comment('创建者') BIGINT(20)"`
  27. Status int `xorm:"comment('项目状态') TINYINT(1)"`
  28. Remark string `xorm:"comment('备注') VARCHAR(128)"`
  29. BillId string `xorm:"comment('工程量清单id列表') VARCHAR(128)"`
  30. ChapterId string `xorm:"comment('项目节清单id列表') VARCHAR(128)"`
  31. StandardId int `xorm:"comment('标准清单id') TINYINT(4)"`
  32. Valuation string `xorm:"comment('清单规范id列表(删除)') VARCHAR(128)"`
  33. QrcodeJson string `xorm:"comment('项目二维码信息') TEXT"`
  34. DealpayJson string `xorm:"TEXT"`
  35. Custom int `xorm:"comment('是否是定制项目') TINYINT(1)"`
  36. CanApi int `xorm:"comment('定制项目接口是否可用') TINYINT(1)"`
  37. Secret string `xorm:"comment('定制项目私钥') VARCHAR(255)"`
  38. PageShow string `xorm:"comment('前台页面或功能展示与隐藏') VARCHAR(3072)"`
  39. PagePath string `xorm:"VARCHAR(11)"`
  40. }