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.
13 lines
398 B
13 lines
398 B
package model
|
|
|
|
// 记录订单中的收货地址
|
|
type OrderAddress struct {
|
|
Address
|
|
OrderID string `gorm:"size:50" json:"orderID"`
|
|
AddressId uint `gorm:"" json:"address_id"` // 用户地址id
|
|
Platform string `gorm:"size:50" json:"platform"` //平台 saller(买家端) / customer(客户端) / influencer(网红端)
|
|
}
|
|
|
|
func (OrderAddress) TableName() string {
|
|
return "order_address"
|
|
}
|
|
|