feat: update order model with packaging_fee and international_fee, remove tax
This commit is contained in:
@@ -13,8 +13,9 @@ type Order struct {
|
||||
Subtotal float64 `gorm:"type:decimal(10,2);not null" json:"subtotal"`
|
||||
ShippingFee float64 `gorm:"type:decimal(10,2);default:0" json:"shipping_fee"`
|
||||
ServiceFee float64 `gorm:"type:decimal(10,2);default:0" json:"service_fee"`
|
||||
Tax float64 `gorm:"type:decimal(10,2);default:0" json:"tax"`
|
||||
ChannelFee float64 `gorm:"type:decimal(10,2);default:0" json:"channel_fee"` // 支付通道费
|
||||
ChannelFee float64 `gorm:"type:decimal(10,2);default:0" json:"channel_fee"`
|
||||
PackagingFee float64 `gorm:"type:decimal(10,2);default:0" json:"packaging_fee"`
|
||||
InternationalFee float64 `gorm:"type:decimal(10,2);default:0" json:"international_fee"`
|
||||
TotalAmount float64 `gorm:"type:decimal(10,2);not null" json:"total_amount"`
|
||||
RefundAmount *float64 `gorm:"type:decimal(10,2)" json:"refund_amount"`
|
||||
RefundStatus string `gorm:"size:20" json:"refund_status"`
|
||||
|
||||
Reference in New Issue
Block a user