|
@@ -28,6 +28,9 @@ type TradeOrder struct {
|
|
OrgTransactionID string `gorm:"column:org_transaction_id;type:varchar(255);comment:第三方平台ID"`
|
|
OrgTransactionID string `gorm:"column:org_transaction_id;type:varchar(255);comment:第三方平台ID"`
|
|
ProductOrderID string `gorm:"column:product_order_id;type:varchar(255);comment:商品订单号"`
|
|
ProductOrderID string `gorm:"column:product_order_id;type:varchar(255);comment:商品订单号"`
|
|
ProductName string `gorm:"column:product_name;type:varchar(255);comment:商品名称"`
|
|
ProductName string `gorm:"column:product_name;type:varchar(255);comment:商品名称"`
|
|
|
|
+ RealName string `gorm:"column:real_name;default:null;comment:'姓名'" json:"real_name"`
|
|
|
|
+ AreaCode string `gorm:"column:area_code;default:null;comment:'手机区号'" json:"area_code"`
|
|
|
|
+ Mobile string `gorm:"column:mobile;default:null;comment:'手机号'" json:"mobile"`
|
|
PaymentAccount string `gorm:"column:payment_account;type:varchar(255);comment:支付账号"`
|
|
PaymentAccount string `gorm:"column:payment_account;type:varchar(255);comment:支付账号"`
|
|
PaymentWay PaymentWay `gorm:"column:payment_way;type:enum('wechat');comment:支付渠道"`
|
|
PaymentWay PaymentWay `gorm:"column:payment_way;type:enum('wechat');comment:支付渠道"`
|
|
Amount string `gorm:"column:amount;type:varchar(20);comment:支付金额"`
|
|
Amount string `gorm:"column:amount;type:varchar(20);comment:支付金额"`
|