using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YLErp.Model
{
///
/// trs交易端客户资金监控返回
///
public class ClientBalanceMonitorForTrsRespone
{
///
/// 存续客户
///
public int DurationClient { get; set; }
///
/// 存续客户同比昨日
///
public double DurationClientCompareLastDay { get; set; }
///
/// 资金不足客户
///
public int FundShortageClient { get; set; }
///
/// 资金不足客户同比昨日
///
public double FundShortageClientCompareLastDay { get; set; }
///
/// 触发追保平仓线客户
///
public int UnwindlineClient { get; set; }
///
/// 触发追保平仓线客户同比昨日
///
public double UnwindlineClientCompareLastDay { get; set; }
///
/// 触发追保预警线客户
///
public int WarninglineClient { get; set; }
///
/// 触发追保预警线客户同比昨日
///
public double WarninglineClientCompareLastDay { get; set; }
///
/// 客户存续名义本金规模
///
public double DurationNotionalPrincipal { get; set; }
///
/// 客户存续名义本金规模 同比昨日
///
public double DurationNotionalPrincipalCompareLastDay { get; set; }
///
/// 维保线平仓线
///
public double UnwindLine { get; set; }
///
/// 维保线预警线
///
public double WarningLine { get; set; }
///
/// 客户资金情况集合
///
public List BalanceMonitorForTrsItems { get; set; } = new List();
}
public class ClientBalanceMonitorForTrsItem
{
///
/// 客户id
///
public int ClientId { get; set; }
///
/// 估值日期
///
public DateTime? ValueDate { get; set; }
///
/// 客户编号
///
public string ClientNumber { get; set; }
///
/// 客户名称
///
public string ClientName { get; set; }
///
/// 客户类型
///
public string ClientTypeStr { get; set; }
///
/// 可用资金
///
public double AmountFund { get; set; }
///
/// 当前维保线
///
public double MaintenanceLine { get; set; }
///
/// 追保金额
///
public double MarginByPayableMarginTotal { get; set; }
}
}