oilsupplier.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package supplier
  2. import (
  3. "time"
  4. )
  5. type OilSupplier struct {
  6. Id int `xorm:"not null pk autoincr INT(10)"`
  7. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  8. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  9. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  10. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  11. OperType string `xorm:"comment('经营方式') CHAR(1)"`
  12. Country string `xorm:"comment('国家') VARCHAR(20)"`
  13. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  14. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  15. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  16. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  17. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  18. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  19. Address string `xorm:"comment('单位地址') VARCHAR(100)"`
  20. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  21. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  22. Street string `xorm:"comment('街道') VARCHAR(20)"`
  23. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  24. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  25. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  26. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  27. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  28. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  29. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  30. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  31. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  32. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  33. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  34. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  35. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  36. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  37. RegCapital float32 `xorm:"default 0 comment('注册资本') FLOAT"`
  38. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  39. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  40. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  41. SetupTime string `xorm:"comment('成立时间') VARCHAR(10)"`
  42. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  43. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  44. Email string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  45. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  46. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  47. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  48. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  49. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  50. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  51. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  52. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  53. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  54. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  55. WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"`
  56. ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"`
  57. UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"`
  58. TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"`
  59. AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"`
  60. MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"`
  61. NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"`
  62. NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"`
  63. DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"`
  64. SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"`
  65. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  66. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  67. CreateOn time.Time `xorm:"DATETIME"`
  68. CreateUserId int `xorm:"INT(10)"`
  69. CreateBy string `xorm:"VARCHAR(50)"`
  70. ModifiedOn time.Time `xorm:"DATETIME"`
  71. ModifiedUserId int `xorm:"INT(10)"`
  72. ModifiedBy string `xorm:"VARCHAR(50)"`
  73. }
  74. type OilSupplierView struct {
  75. OilSupplier `xorm:"extends"`
  76. CertId string
  77. AccessCardNo string
  78. SupplierTypeCode string
  79. SupplierTypeName string
  80. Step int
  81. }