provider.go 1.2 KB

12345678910111213141516171819202122232425262728
  1. package model
  2. import "time"
  3. type Provider struct {
  4. ID int `gorm:"column:id" json:"id" `
  5. ProviderIntro string `gorm:"column:providerIntro"` //供应商全称
  6. ProviderName string `gorm:"column:providerName"` //供应商简称
  7. ProviderNumber string `gorm:"column:providerNumber"` //供应商编码
  8. Email string `gorm:"column:email"` //邮箱
  9. Linkman string `gorm:"column:linkman"` //联系人
  10. Telphone string `gorm:"column:telphone"` //联系电话
  11. CompanyCode string `gorm:"column:company_code"` //公司代码
  12. SortName string `gorm:"column:sort_name"` //供应商分类
  13. Enable int `gorm:"column:enable"` //是否启用
  14. PastureId int `gorm:"column:pastureId"`
  15. FlexPrice int `gorm:"column:flexPrice"`
  16. BusinessLicense string `gorm:"column:businessLicense"`
  17. OrganizationCode string `gorm:"column:organizationCode"`
  18. OpenLicence string `gorm:"column:openLicence"`
  19. IRSregister string `gorm:"column:IRSregister"`
  20. CreateTime time.Time `gorm:"column:createTime"`
  21. ModifyTime time.Time `gorm:"column:modifyTime"`
  22. CreatedAt time.Time `gorm:"column:created_at"`
  23. UpdatedAt time.Time `gorm:"column:updated_at"`
  24. }