广告平台(媒体使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

medium_list.go 2.8 KiB

1 month ago
3 weeks ago
1 month ago
1234567891011121314151617181920212223242526
  1. package md
  2. type MediumList struct {
  3. Id string `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Uuid string `json:"uuid" xorm:"not null comment('站长id') index unique(IDX_UUID_TYPE) INT(11)"`
  5. MediumId string `json:"medium_id" xorm:"not null comment('媒体id') unique(IDX_UUID_TYPE) INT(11)"`
  6. Kind string `json:"kind" xorm:"not null default 1 comment('类型(1:企业 2:个人)') TINYINT(1)"`
  7. CertificateType string `json:"certificate_type" xorm:"not null default 1 comment('证件类型 2级类目id') TINYINT(1)"`
  8. CertificateFirstType string `json:"certificate_first_type" xorm:"not null default 1 comment('证件类型 1级类目id') TINYINT(1)"`
  9. CountryRegionId string `json:"country_region_id" xorm:"not null default 1 comment('国家地区id') TINYINT(3)"`
  10. RegisteredAddressCountryId string `json:"registered_address_country_id" xorm:"not null default 0 comment('注册地址-国家id') INT(11)"`
  11. RegisteredAddressProvinceId string `json:"registered_address_province_id" xorm:"not null default 0 comment('注册地址-省份id') INT(11)"`
  12. RegisteredAddressCityId string `json:"registered_address_city_id" xorm:"not null default 0 comment('注册地址-市id') INT(11)"`
  13. RegisteredAddressCountyId string `json:"registered_address_county_id" xorm:"not null default 0 comment('注册地址-县/区id') INT(11)"`
  14. State string `json:"state" xorm:"not null default 0 comment('状态(0:待审核 1:审核通过 2:审核拒绝)') TINYINT(1)"`
  15. CompanyName string `json:"company_name" xorm:"not null default '' comment('公司名称') VARCHAR(255)"`
  16. CompanyAbbreviation string `json:"company_abbreviation" xorm:"not null default '' comment('公司简称') VARCHAR(255)"`
  17. UnifiedSocialCreditCode string `json:"unified_social_credit_code" xorm:"not null default '' comment('统一社会信用代码') VARCHAR(255)"`
  18. BusinessLicenseImgUrl string `json:"business_license_img_url" xorm:"not null default '' comment('营业执照照片') VARCHAR(255)"`
  19. LegalRepresentative string `json:"legal_representative" xorm:"not null default '' comment('法定代表人') CHAR(50)"`
  20. CountryRegion string `json:"country_region" xorm:"not null default '' comment('国家地区') CHAR(50)"`
  21. RegisteredAddress string `json:"registered_address" xorm:"not null default '' comment('注册地址') VARCHAR(255)"`
  22. BusinessLicenseAddress string `json:"business_license_address" xorm:"not null default '' comment('营业执照地址') VARCHAR(255)"`
  23. CertificateValidity string `json:"certificate_validity" xorm:"not null default '0000-00-00' comment('证件有效期') CHAR(50)"`
  24. Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"`
  25. }