|
|
|
@ -16,7 +16,7 @@ type Information struct {
|
|
|
|
|
SharerID uint `gorm:"column:sharer_id" json:"sharerId"`
|
|
|
|
|
LiveId uint `gorm:"column:live_id" json:"liveId"`
|
|
|
|
|
UserID uint `gorm:"column:user_id" json:"userId"` // 下单者
|
|
|
|
|
User user.Information `json:"-" gorm:"foreignKey:userId"`
|
|
|
|
|
User user.Information `json:"-" gorm:"foreignKey:UserID"`
|
|
|
|
|
UserRole uint `gorm:"column:user_role" json:"userRole"`
|
|
|
|
|
Title string `gorm:"column:title" json:"title"` // 订单简要标题
|
|
|
|
|
BrandCouponTotalAmount decimal.Decimal `gorm:"column:brand_coupon_total_amount" json:"brandCouponTotalAmount"` // 品牌优惠券抵扣总金额
|
|
|
|
|