2
3

infochange.go 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. package infochange
  2. import (
  3. "time"
  4. )
  5. type OilInfoChange struct {
  6. Id int `xorm:"<- not null pk autoincr INT(10)"`
  7. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  8. AccessCardNo int `xorm:"not null default 0 comment('准入证号') INT(10)"`
  9. OldAccessCardNo int `xorm:"not null default 0 comment('曾用准入证号') INT(10)"`
  10. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  11. Status string `xorm:"comment('状态标识') VARCHAR(10)"`
  12. AuditIndex int `xorm:"default 0 comment('审批次数') INT(11)"`
  13. Step int `xorm:"comment('页面上第几步') INT(10)"`
  14. BusinessKey string `xorm:"VARCHAR(255)"`
  15. WorkFlowId string `xorm:"comment('工作流的ID') VARCHAR(50)"`
  16. OldSupplierName string `xorm:"comment('曾用名') VARCHAR(255)"`
  17. SupplierTypeCode string `xorm:"comment('准入类别代码(1 物资类,2 基建类,3 技术服务类)') VARCHAR(5)"`
  18. SupplierTypeName string `xorm:"comment('准入类别名称(1 物资类,2 基建类,3 技术服务类)') VARCHAR(50)"`
  19. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  20. OldOilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  21. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  22. OldGrade string `xorm:"comment('级别') VARCHAR(2)"`
  23. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  24. OldMgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  25. OperType string `xorm:"comment('经营方式') CHAR(1)"`
  26. OldOperType string `xorm:"comment('经营方式') CHAR(1)"`
  27. Country string `xorm:"comment('国家') VARCHAR(20)"`
  28. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  29. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  30. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  31. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  32. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  33. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  34. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  35. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  36. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  37. Street string `xorm:"comment('街道') VARCHAR(20)"`
  38. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  39. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  40. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  41. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  42. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  43. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  44. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  45. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  46. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  47. TJInNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  48. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  49. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  50. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  51. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  52. RegCapital float32 `xorm:"default 0 comment('注册资本') FLOAT"`
  53. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  54. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  55. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  56. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  57. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  58. SetupTime time.Time `xorm:"comment(' 成立时间') DATE"`
  59. Email string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  60. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  61. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  62. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  63. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  64. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  65. Qq string `xorm:"comment('QQ号码') VARCHAR(20)"`
  66. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  67. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  68. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(200)"`
  69. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(500)"`
  70. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  71. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  72. CreateOn time.Time `xorm:"DATETIME"`
  73. CreateUserId int `xorm:"INT(10)"`
  74. CreateBy string `xorm:"VARCHAR(50)"`
  75. ModifiedOn time.Time `xorm:"DATETIME"`
  76. ModifiedUserId int `xorm:"INT(10)"`
  77. ModifiedBy string `xorm:"VARCHAR(50)"`
  78. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  79. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  80. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  81. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  82. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  83. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  84. HseTraining string `xorm:"default '0' comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  85. }
  86. type OilInfoChangeItem struct {
  87. Id int `xorm:"not null pk autoincr INT(10)"`
  88. InfoId int `xorm:"comment('信息变更主表Id') INT(10)"`
  89. SupplierId int `xorm:"comment('供方Id') INT(10)"`
  90. SelectItem string `xorm:"comment('变更字段名') VARCHAR(50)"`
  91. SelectItemName string `xorm:"comment('变更字段名') VARCHAR(255)"`
  92. BeChangeInfo string `xorm:"comment('变更前内容') VARCHAR(255)"`
  93. ChangeInfo string `xorm:"comment('变更后内容') VARCHAR(255)"`
  94. ChangeStatus int `xorm:"comment('变更状态') INT(10)"`
  95. CreateOn time.Time `xorm:"DATETIME"`
  96. CreateUserId int `xorm:"INT(10)"`
  97. CreateBy string `xorm:"VARCHAR(50)"`
  98. ModifiedOn time.Time `xorm:"DATETIME"`
  99. ModifiedUserId int `xorm:"INT(10)"`
  100. ModifiedBy string `xorm:"VARCHAR(50)"`
  101. }
  102. type SuppModelInfo struct {
  103. ConmmitTime time.Time
  104. InfoId int
  105. Id int `xorm:"<- not null pk autoincr INT(10)"`
  106. AccessCardNo int `xorm:"not null default 0 comment('准入证号') INT(10)"`
  107. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  108. Status string `xorm:"comment('状态标识') VARCHAR(10)"`
  109. Step int `xorm:"comment('页面上第几步') INT(10)"`
  110. WorkFlowId string `xorm:"comment('工作流的ID') VARCHAR(50)"`
  111. SupplierTypeCode string `xorm:"comment('准入类别代码(1 物资类,2 基建类,3 技术服务类)') VARCHAR(5)"`
  112. SupplierTypeName string `xorm:"comment('准入类别名称(1 物资类,2 基建类,3 技术服务类)') VARCHAR(50)"`
  113. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  114. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  115. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  116. OperType string `xorm:"comment('经营方式') CHAR(1)"`
  117. Country string `xorm:"comment('国家') VARCHAR(20)"`
  118. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  119. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  120. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  121. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  122. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  123. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  124. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  125. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  126. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  127. Street string `xorm:"comment('街道') VARCHAR(20)"`
  128. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  129. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  130. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  131. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  132. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  133. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  134. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  135. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  136. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  137. TJInNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  138. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  139. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  140. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  141. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  142. RegCapital float32 `xorm:"default 0 comment('注册资本') FLOAT"`
  143. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  144. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  145. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  146. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  147. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  148. SetupTime time.Time `xorm:"comment(' 成立时间') DATE"`
  149. Email string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  150. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  151. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  152. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  153. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  154. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  155. Qq string `xorm:"comment('QQ号码') VARCHAR(20)"`
  156. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  157. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  158. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(200)"`
  159. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(500)"`
  160. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  161. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  162. CreateOn time.Time `xorm:"DATETIME"`
  163. CreateUserId int `xorm:"INT(10)"`
  164. CreateBy string `xorm:"VARCHAR(50)"`
  165. ModifiedOn time.Time `xorm:"DATETIME"`
  166. ModifiedUserId int `xorm:"INT(10)"`
  167. ModifiedBy string `xorm:"VARCHAR(50)"`
  168. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  169. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  170. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  171. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  172. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  173. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  174. HseTraining string `xorm:"default '0' comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  175. }