invoice_address.go 882 B

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