feat(tenant): 按租户隔离支付退款与商户配置
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
type PaymentOrder struct {
|
||||
ID uint64 `gorm:"primaryKey" json:"id"`
|
||||
TenantID uint64 `gorm:"not null;default:0;index:idx_payment_orders_tenant_created" json:"tenant_id"`
|
||||
PaymentNo string `gorm:"size:64;not null;uniqueIndex" json:"payment_no"`
|
||||
OrderID uint64 `gorm:"not null;index" json:"order_id"`
|
||||
OrderNo string `gorm:"size:64;not null;index" json:"order_no"`
|
||||
|
||||
Reference in New Issue
Block a user