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.
25 lines
903 B
25 lines
903 B
8 months ago
|
package model
|
||
|
|
||
|
import (
|
||
|
"github.com/shopspring/decimal"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type DealerCompany struct {
|
||
|
Id uint `gorm:"primaryKey"`
|
||
|
DealerId uint // 车商id
|
||
|
Name string // 公司名
|
||
|
BusinessTermStart time.Time // 营业期限开始
|
||
|
BusinessTermEnd time.Time // 营业期限截止
|
||
|
RegisteredCapital decimal.Decimal // 注册资本
|
||
|
Quality uint // 性质 1=企业 2=个体工商户
|
||
|
BusinessLicenseNo string // 营业执照号
|
||
|
LegalPerson string // 法人
|
||
|
LegalPersonCard string // 法人身份证号
|
||
|
IdCardFront string // 身份证正面
|
||
|
IdCardBack string // 身份证反面
|
||
|
BusinessLicensePhoto string // 营业执照
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
}
|