invoice_address.go 887 B

123456789101112131415161718192021
  1. package gorm_model
  2. // Code generated by sql2gorm. DO NOT EDIT.
  3. import (
  4. "time"
  5. )
  6. type YounggeeInvoiceAddress struct {
  7. AddressID int `gorm:"column:address_id;primary_key;AUTO_INCREMENT"` // 发票收件地址id
  8. EnterpriseID string `gorm:"column:enterprise_id;NOT NULL"` // 企业id
  9. Name string `gorm:"column:name;NOT NULL"` // 收件人姓名
  10. RegionCode string `gorm:"column:region_code;NOT NULL"` // 所在地区编码
  11. Address string `gorm:"column:address;NOT NULL"` // 详细地址
  12. Phone string `gorm:"column:phone;NOT NULL"` // 手机号码
  13. UpdateAt time.Time `gorm:"column:update_at;NOT NULL"` // 创建时间
  14. }
  15. func (m *YounggeeInvoiceAddress) TableName() string {
  16. return "younggee_invoice_address"
  17. }