2
3

oilsuppliercertappend.go 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. SupplierName string `xorm:"comment('供方名称') VARCHAR(200)"`
  9. SupplierCertId int `xorm:"not null comment('供方准入证书信息表主键') INT(10)"`
  10. ApplyDate time.Time `xorm:"comment('申请日期') DATETIME"`
  11. RecUnitFlag string `xorm:"comment('推荐单位的级联Id标记') VARCHAR(200)"`
  12. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(50)"`
  13. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(200)"`
  14. AppendType string `xorm:"comment('增项类别(1 物资类,2 基建类,3 技术服务类)') VARCHAR(10)"`
  15. InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"`
  16. DenyReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  17. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  18. Status string `xorm:"comment('状态标识') VARCHAR(50)"`
  19. WorkFlowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  20. AuditIndex int `xorm:"default 0 comment('审批次数') INT(11)"`
  21. BusinessKey string `xorm:"VARCHAR(255)"`
  22. ProcessKey string `xorm:"VARCHAR(255)"`
  23. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  24. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  25. Step int `xorm:"comment('页面上第几步') INT(10)"`
  26. FirstAudit int `xorm:"default 0 comment('初审') INT(10)"`
  27. SecondAudit int `xorm:"default 0 comment('复审') INT(10)"`
  28. ThirdAudit int `xorm:"default 0 comment('专业科室审批') INT(10)"`
  29. FourthAudit int `xorm:"default 0 comment('集中审批') INT(10)"`
  30. CreateOn time.Time `xorm:"DATETIME"`
  31. CreateUserId int `xorm:"INT(10)"`
  32. CreateBy string `xorm:"VARCHAR(50)"`
  33. ModifiedOn time.Time `xorm:"DATETIME"`
  34. ModifiedUserId int `xorm:"INT(10)"`
  35. ModifiedBy string `xorm:"VARCHAR(50)"`
  36. OldId int `xorm:"INT(10)"`
  37. }
  38. type OilSupplierCertAppendTodo struct {
  39. Id int `xorm:"not null pk autoincr INT(10)"`
  40. SupplierName string `xorm:"VARCHAR(100)"`
  41. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  42. SupplierCertId int `xorm:"not null comment('供方准入证书信息表主键') INT(10)"`
  43. ApplyDate time.Time `xorm:"comment('申请日期') DATETIME"`
  44. RecUnitFlag string `xorm:"comment('推荐单位的级联Id标记') VARCHAR(200)"`
  45. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(50)"`
  46. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  47. AppendType string `xorm:"comment('增项类别(1 物资类,2 基建类,3 技术服务类)') VARCHAR(10)"`
  48. DenyReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  49. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  50. Status string `xorm:"comment('状态标识') VARCHAR(50)"`
  51. WorkFlowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  52. AuditIndex int `xorm:"default 0 comment('审批次数') INT(11)"`
  53. BusinessKey string `xorm:"VARCHAR(255)"`
  54. ProcessKey string `xorm:"VARCHAR(255)"`
  55. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  56. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  57. Step int `xorm:"comment('页面上第几步') INT(10)"`
  58. FirstAudit int `xorm:"default 0 comment('初审') INT(10)"`
  59. SecondAudit int `xorm:"default 0 comment('复审') INT(10)"`
  60. ThirdAudit int `xorm:"default 0 comment('专业科室审批') INT(10)"`
  61. FourthAudit int `xorm:"default 0 comment('集中审批') INT(10)"`
  62. CreateOn time.Time `xorm:"DATETIME"`
  63. CreateUserId int `xorm:"INT(10)"`
  64. CreateBy string `xorm:"VARCHAR(50)"`
  65. ModifiedOn time.Time `xorm:"DATETIME"`
  66. ModifiedUserId int `xorm:"INT(10)"`
  67. ModifiedBy string `xorm:"VARCHAR(50)"`
  68. }
  69. type Supplier struct {
  70. SupplierId int
  71. SupplierCertId int
  72. SupplierName string
  73. }
  74. //11111
  75. type OilSupplierCert struct {
  76. Id int `xorm:"not null pk autoincr INT(10)"`
  77. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  78. AccessCardNo string `xorm:"comment('准入证号') VARCHAR(20)"`
  79. SupplierTypeCode string `xorm:"comment('准入类别代码(1 物资类,2 基建类,3 技术服务类)') VARCHAR(5)"`
  80. SupplierTypeName string `xorm:"comment('准入类别名称(1 物资类,2 基建类,3 技术服务类)') VARCHAR(50)"`
  81. RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"`
  82. RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"`
  83. RecDate time.Time `xorm:"comment('推荐日期') DATETIME"`
  84. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"`
  85. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  86. Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"`
  87. BackReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  88. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  89. EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"`
  90. EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"`
  91. AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"`
  92. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  93. PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"`
  94. SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"`
  95. MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"`
  96. Type string `xorm:"comment('供应商类型') VARCHAR(255)"`
  97. MgrUnit string `xorm:"comment('管理单位') VARCHAR(255)"`
  98. AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"`
  99. EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"`
  100. ApplyTime string `xorm:"comment('年审到期日期') VARCHAR(255)"`
  101. SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"`
  102. MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"`
  103. InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"`
  104. ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"`
  105. OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"`
  106. Step int `xorm:"comment('页面上第几步') INT(10)"`
  107. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  108. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  109. WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"`
  110. ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"`
  111. UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"`
  112. TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"`
  113. AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"`
  114. MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"`
  115. NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"`
  116. NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"`
  117. DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"`
  118. SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"`
  119. WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  120. CreateOn time.Time `xorm:"DATETIME"`
  121. CreateUserId int `xorm:"INT(10)"`
  122. CreateBy string `xorm:"VARCHAR(50)"`
  123. ModifiedOn time.Time `xorm:"DATETIME"`
  124. ModifiedUserId int `xorm:"INT(10)"`
  125. ModifiedBy string `xorm:"VARCHAR(50)"`
  126. }