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.
18 lines
991 B
18 lines
991 B
package user
|
|
|
|
type PartnerCompanyInfo struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id"`
|
|
UserID uint `gorm:"column:user_id" json:"userId"`
|
|
Name string `gorm:"column:name" json:"name"` // 供应商名称
|
|
BusinessLicenseNum string `gorm:"column:business_license_num" json:"businessLicenseNum"` // 营业执照号
|
|
BusinessLicenseAddress string `gorm:"column:business_license_address" json:"businessLicenseAddress"` // 营业执照号详细地址
|
|
IdNum string `gorm:"column:id_num" json:"idNum"` // 法人身份证号码
|
|
BankName string `gorm:"column:bank_name" json:"bankName"`
|
|
BankNo string `gorm:"column:bank_no" json:"bankNo"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (r *PartnerCompanyInfo) TableName() string {
|
|
return "recook_user_partner_company_info"
|
|
}
|