fix(topup):修复商户充值中的自动复制对应关系。

This commit is contained in:
徐涛
2023-06-27 16:48:04 +08:00
parent 06f86e3cd4
commit 1db60a0e4f
2 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
package vo
import "github.com/shopspring/decimal"
import (
"electricity_bill_calc/types"
"github.com/shopspring/decimal"
)
type TopUpCreationForm struct {
Tenement string `json:"tenement"`
@@ -9,12 +13,12 @@ type TopUpCreationForm struct {
}
type TopUpDetailQueryResponse struct {
Id string `json:"id" copier:"topUpCode"`
Id string `json:"id" copier:"TopUpCode"`
Tenement string `json:"tenement"`
TenementName string `json:"tenementName"`
Meter string `json:"meter"`
MeterAddress string `json:"meterAddress"`
ToppedUpAt string `json:"toppedUpAt"`
ToppedUpAt types.DateTime `json:"toppedUpAt"`
Amount decimal.Decimal `json:"amount"`
PaymentType int16 `json:"paymentType"`
SyncStatus int16 `json:"syncStatus" copier:"SyncStatus"`