From 7b47c91bcf89d667a5c99cfafe0d899280f7fbe3 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 19 十一月 2025 11:22:27 +0800
Subject: [PATCH] feat:平安转账开发
---
ApiTools.Core/Models/ChannelWallets/Commands/SubmitChannelWalletTransferCommand.cs | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 118 insertions(+), 0 deletions(-)
diff --git a/ApiTools.Core/Models/ChannelWallets/Commands/SubmitChannelWalletTransferCommand.cs b/ApiTools.Core/Models/ChannelWallets/Commands/SubmitChannelWalletTransferCommand.cs
new file mode 100644
index 0000000..28096fc
--- /dev/null
+++ b/ApiTools.Core/Models/ChannelWallets/Commands/SubmitChannelWalletTransferCommand.cs
@@ -0,0 +1,118 @@
+锘縰sing MediatR;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ApiTools.Core
+{
+ /// <summary>
+ /// 鎻愪氦娓犻亾閽卞寘杞处
+ /// </summary>
+ [Resource([EnumResourceController.UserServerChannelWallet])]
+ public class SubmitChannelWalletTransferCommand : IRequest<SubmitChannelWalletTransferCommandResult>
+ {
+ /// <summary>
+ /// 澶栭儴閽卞寘Id
+ /// </summary>
+ public string OutWalletId { get; set; }
+
+ /// <summary>
+ /// 澶栭儴璁㈠崟鍙�
+ /// </summary>
+ public string OutCode { get; set; }
+
+ /// <summary>
+ /// 澶栭儴鎿嶄綔浜篒d
+ /// </summary>
+ public string OutOperatorId { get; set; }
+
+ /// <summary>
+ /// 鎿嶄綔鏃堕棿
+ /// </summary>
+ public DateTime? OperatorTime { get; set; }
+
+ /// <summary>
+ /// 澶栭儴鏀舵浜篒d
+ /// </summary>
+ public string OutReceiveId { get; set; }
+
+ /// <summary>
+ /// 閲戦
+ /// </summary>
+ public decimal Amount { get; set; }
+
+ /// <summary>
+ /// 鏀舵浜哄鍚�
+ /// </summary>
+ public string ReceiveName { get; set; }
+
+ /// <summary>
+ /// 鏀舵浜鸿韩浠借瘉鍙�
+ /// </summary>
+ public string ReceiveIdentity { get; set; }
+
+ /// <summary>
+ /// 鏀舵璐︽埛
+ /// </summary>
+ public string ReceiveAccount { get; set; }
+
+ /// <summary>
+ /// 鏀舵浜哄紑鎴疯
+ /// </summary>
+ public string ReceiveBank { get; set; }
+
+ /// <summary>
+ /// 鏀舵浜烘敮琛�
+ /// </summary>
+ public string ReceiveBankBranch { get; set; }
+
+ /// <summary>
+ /// 甯佺
+ /// </summary>
+ public string Currency { get; set; }
+
+ /// <summary>
+ /// 鐢ㄩ��
+ /// </summary>
+ public string Purpose { get; set; }
+
+ /// <summary>
+ /// 澶囨敞
+ /// </summary>
+ public string Remark { get; set; }
+
+ }
+
+ public class SubmitChannelWalletTransferCommandResult
+ {
+ /// <summary>
+ /// 浜ゆ槗Id
+ /// </summary>
+ public Guid Id { get; set; }
+
+ /// <summary>
+ /// 璁㈠崟鍙�
+ /// </summary>
+ public string Code { get; set; }
+
+ /// <summary>
+ /// 鐘舵��
+ /// </summary>
+ public EnumWalletTransactionStatus TransactionStatus { get; set; }
+
+ /// <summary>
+ /// 鏌ヨ鍒扮殑璁㈠崟鐘舵�佷负FAIL澶辫触鎴朢EFUND閫�绁ㄦ椂锛岃繑鍥為敊璇唬鐮�
+ /// </summary>
+ public string ErrorCode { get; set; }
+
+ /// <summary>
+ /// 鏌ヨ鍒扮殑璁㈠崟鐘舵�佷负FAIL澶辫触鎴朢EFUND閫�绁ㄦ椂锛岃繑鍥炲叿浣撶殑鍘熷洜銆�
+ /// </summary>
+ public string FailReason { get; set; }
+
+ }
+}
--
Gitblit v1.9.1