Files
zszq-trs/YLErpDAL/Model/ExternalCashFlow/ExternalCashFlowModels.cs
shangzhongyuan 6b89699212 feat(资金流水): 添加外部银行流水导入功能
- 新增 ExternalCashFlowService 用于调用外部银行流水接口
- 在出入金列表页面添加获取银行流水按钮
- 新增 BankFlowId 字段存储银行流水ID
- 实现银行流水数据自动导入为出入金记录
- 添加相关配置项和模型类
2026-03-13 11:15:19 +08:00

134 lines
3.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
namespace YLErp.Model.ExternalCashFlow
{
/// <summary>
/// 外部资金流水接口响应模型
/// </summary>
public class ExternalCashFlowResponse
{
/// <summary>
/// 响应码
/// </summary>
public string code { get; set; }
/// <summary>
/// 响应消息
/// </summary>
public string message { get; set; }
/// <summary>
/// 响应数据
/// </summary>
public List<ExternalCashFlowData> data { get; set; }
}
/// <summary>
/// 外部资金流水数据模型
/// </summary>
public class ExternalCashFlowData
{
/// <summary>
/// 流水 ID
/// </summary>
public string flowId { get; set; }
/// <summary>
/// 账号
/// </summary>
public string account { get; set; }
/// <summary>
/// 金额
/// </summary>
public string amount { get; set; }
/// <summary>
/// 户名
/// </summary>
public string name { get; set; }
/// <summary>
/// 银行名称
/// </summary>
public string bankName { get; set; }
/// <summary>
/// 币种
/// </summary>
public string currency { get; set; }
/// <summary>
/// 入账日期(可能为 null
/// </summary>
public string entryDate { get; set; }
/// <summary>
/// 交易时间
/// </summary>
public string transTime { get; set; }
/// <summary>
/// 借贷标识:D-借,C-贷
/// </summary>
public string debitCreditMark { get; set; }
/// <summary>
/// 用途描述(可能为 null
/// </summary>
public string useDescribe { get; set; }
/// <summary>
/// 补充信息(可能为 null
/// </summary>
public string supplementaryDetails { get; set; }
/// <summary>
/// 对方账户
/// </summary>
public string counterpartyAccount { get; set; }
/// <summary>
/// 对方户名
/// </summary>
public string counterpartyName { get; set; }
/// <summary>
/// 对方银行名称
/// </summary>
public string counterpartyBankName { get; set; }
}
/// <summary>
/// 外部资金流水接口请求参数
/// </summary>
public class ExternalCashFlowRequest
{
/// <summary>
/// 令牌
/// </summary>
public string token { get; set; }
/// <summary>
/// 账号
/// </summary>
public string account { get; set; }
/// <summary>
/// 开始日期
/// </summary>
public string beginDate { get; set; }
/// <summary>
/// 结束日期
/// </summary>
public string endDate { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public int? clientId { get; set; }
}
}