oilsuppliercertappendsub.go 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package suppliercertappendsub
  2. import (
  3. "time"
  4. )
  5. type OilSupplierCertAppendSub 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. SupplierCertAppendId int `xorm:"not null comment('增项信息表ID') INT(10)"`
  10. SubClassId int `xorm:"not null comment('分类表主键(物资类或基建类或技术服务类)') INT(10)"`
  11. SupplierTypeCode string `xorm:"not null default '' comment('分类标记') VARCHAR(10)"`
  12. SortFlag string `xorm:"not null default '' comment('分类标记') VARCHAR(100)"`
  13. Code string `xorm:"not null default '' comment('分类编码') VARCHAR(50)"`
  14. Name string `xorm:"not null default '' comment('分类名称') VARCHAR(50)"`
  15. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  16. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  17. CreateOn time.Time `xorm:"DATETIME"`
  18. CreateUserId int `xorm:"INT(10)"`
  19. CreateBy string `xorm:"VARCHAR(50)"`
  20. ModifiedOn time.Time `xorm:"DATETIME"`
  21. ModifiedUserId int `xorm:"INT(10)"`
  22. ModifiedBy string `xorm:"VARCHAR(50)"`
  23. }
  24. type OilSub struct {
  25. Id int `xorm:"not null pk autoincr INT(10)"`
  26. SupplierId int `xorm:"not null comment('供方基本信息表主键') INT(10)"`
  27. SupplierCertId int `xorm:"not null comment('供方准入证书信息表主键') INT(10)"`
  28. //SupplierCertAppendId int `xorm:"not null comment('增项信息表ID') INT(10)"`
  29. SupplierTypeCode string `xorm:"not null default '' comment('准入类别代码') VARCHAR(5)"`
  30. SubClassId int `xorm:"not null comment('分类表主键(物资类或基建类或技术服务类)') INT(10)"`
  31. //SortFlag string `xorm:"not null default '' comment('分类标记') VARCHAR(100)"`
  32. Code string `xorm:"not null default '' comment('分类编码') VARCHAR(50)"`
  33. Name string `xorm:"not null default '' comment('分类名称') VARCHAR(50)"`
  34. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  35. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  36. CreateOn time.Time `xorm:"DATETIME"`
  37. CreateUserId int `xorm:"INT(10)"`
  38. CreateBy string `xorm:"VARCHAR(50)"`
  39. ModifiedOn time.Time `xorm:"DATETIME"`
  40. ModifiedUserId int `xorm:"INT(10)"`
  41. ModifiedBy string `xorm:"VARCHAR(50)"`
  42. }