oilsuppliercertappend.go 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package suppliercertappend
  2. import (
  3. "time"
  4. )
  5. type OilSupplierCertAppend struct {
  6. Id int `xorm:"not null pk autoincr INT(10)"`
  7. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  8. SupplierCertId int `xorm:"not null comment('供方准入证书信息表主键') INT(10)"`
  9. ApplyDate time.Time `xorm:"comment('申请日期') DATETIME"`
  10. RecUnitFlag string `xorm:"comment('推荐单位的级联Id标记') VARCHAR(200)"`
  11. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(50)"`
  12. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  13. AppendType string `xorm:"comment('增项类别(1 物资类,2 基建类,3 技术服务类)') VARCHAR(10)"`
  14. DenyReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  15. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  16. Status string `xorm:"comment('状态标识') VARCHAR(50)"`
  17. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  18. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  19. CreateOn time.Time `xorm:"DATETIME"`
  20. CreateUserId int `xorm:"INT(10)"`
  21. CreateBy string `xorm:"VARCHAR(50)"`
  22. WorkflowId string `xorm:"VARCHAR(50)"` //工作流id
  23. ModifiedOn time.Time `xorm:"DATETIME"`
  24. ModifiedUserId int `xorm:"INT(10)"`
  25. ModifiedBy string `xorm:"VARCHAR(50)"`
  26. }
  27. type Supplier struct {
  28. SupplierId int
  29. SupplierCertId int
  30. SupplierName string
  31. }
  32. //11111
  33. type OilSupplierCert struct {
  34. Id int `xorm:"not null pk autoincr INT(10)"`
  35. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  36. AccessCardNo string `xorm:"comment('准入证号') VARCHAR(20)"`
  37. SupplierTypeCode string `xorm:"comment('准入类别代码(1 物资类,2 基建类,3 技术服务类)') VARCHAR(5)"`
  38. SupplierTypeName string `xorm:"comment('准入类别名称(1 物资类,2 基建类,3 技术服务类)') VARCHAR(50)"`
  39. RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"`
  40. RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"`
  41. RecDate time.Time `xorm:"comment('推荐日期') DATETIME"`
  42. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"`
  43. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  44. Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"`
  45. BackReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  46. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  47. EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"`
  48. EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"`
  49. AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"`
  50. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  51. PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"`
  52. SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"`
  53. MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"`
  54. Type string `xorm:"comment('供应商类型') VARCHAR(255)"`
  55. MgrUnit string `xorm:"comment('管理单位') VARCHAR(255)"`
  56. AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"`
  57. EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"`
  58. ApplyTime string `xorm:"comment('年审到期日期') VARCHAR(255)"`
  59. SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"`
  60. MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"`
  61. InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"`
  62. ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"`
  63. OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"`
  64. Step int `xorm:"comment('页面上第几步') INT(10)"`
  65. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  66. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  67. WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"`
  68. ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"`
  69. UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"`
  70. TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"`
  71. AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"`
  72. MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"`
  73. NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"`
  74. NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"`
  75. DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"`
  76. SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"`
  77. WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  78. CreateOn time.Time `xorm:"DATETIME"`
  79. CreateUserId int `xorm:"INT(10)"`
  80. CreateBy string `xorm:"VARCHAR(50)"`
  81. ModifiedOn time.Time `xorm:"DATETIME"`
  82. ModifiedUserId int `xorm:"INT(10)"`
  83. ModifiedBy string `xorm:"VARCHAR(50)"`
  84. }