package model import "time" type Provider struct { ID int `gorm:"column:id" json:"id" ` ProviderIntro string `gorm:"column:providerIntro"` //供应商全称 ProviderName string `gorm:"column:providerName"` //供应商简称 ProviderNumber string `gorm:"column:providerNumber"` //供应商编码 Email string `gorm:"column:email"` //邮箱 Linkman string `gorm:"column:linkman"` //联系人 Telphone string `gorm:"column:telphone"` //联系电话 CompanyCode string `gorm:"column:company_code"` //公司代码 SortName string `gorm:"column:sort_name"` //供应商分类 Enable int `gorm:"column:enable"` //是否启用 PastureId int `gorm:"column:pastureId"` FlexPrice int `gorm:"column:flexPrice"` BusinessLicense string `gorm:"column:businessLicense"` OrganizationCode string `gorm:"column:organizationCode"` OpenLicence string `gorm:"column:openLicence"` IRSregister string `gorm:"column:IRSregister"` CreateTime time.Time `gorm:"column:createTime"` ModifyTime time.Time `gorm:"column:modifyTime"` CreatedAt time.Time `gorm:"column:created_at"` UpdatedAt time.Time `gorm:"column:updated_at"` } func (Provider) TableName() string { return "provider" }