package model import ( "database/sql" "github.com/shopspring/decimal" "time" ) type BrokerDealerCompany struct { Id uint `gorm:"primaryKey"` DealerId uint // 车商id Name string // 公司名 BusinessTermStart sql.NullTime // 营业期限开始 BusinessTermEnd sql.NullTime // 营业期限截止 RegisteredCapital decimal.Decimal // 注册资本 Quality uint // 性质 1=企业 2=个体工商户 BusinessLicenseNo string // 营业执照号 LegalPerson string // 法人 LegalPersonCard string // 法人身份证号 LegalTel string // 法人联系方式 StorePhoto string // 门店照 IdCardFront string // 身份证正面 IdCardBack string // 身份证反面 BusinessLicensePhoto string // 营业执照 BankCard string // 银行卡号 Bank string // 开户行 BankAccount string // 开户人 CreatedAt time.Time UpdatedAt time.Time }