using BaseOUDAL;
using DocumentFormat.OpenXml.Spreadsheet;
using Org.BouncyCastle.Bcpg;
using System.ComponentModel.DataAnnotations.Schema;
namespace YLErp.Model
{
///
/// 限额监控请求
///
public class QuotaMonitorReq : BaseSearchReq
{
///
/// 数据日期
///
public DateTime ValueDate { get; set; }
///
/// 数据类型
///
public string SummaryType { get; set; }
///
/// 交易编号
///
public string TradeNumber { get; set; }
///
/// 客户Id
///
public int ClientId { get; set; }
///
/// 客户Id
///
public int ClientNumber { get; set; }
///
/// 标的Id
///
public List UnderlyingId { get; set; }
///
/// EodVaR分位数
///
public double PvPercent { get; set; }
///
/// 是否计算客户信用风险敞口
///
public bool UseCalcCreditExposure { get; set; }
///
/// 品种编号
///
public int VarietyId { get; set; }
///
/// 交易类型
///
public string TradeType { get; set; }
///
/// 簿记账户
///
public int AssetId { get; set; }
///
/// 交易状态
///
public string TradeStatus { get; set; }
///
/// 交易日期-开始
///
public DateTime TradeDateStart { get; set; }
///
/// 交易日期-结束
///
public DateTime TradeDateEnd { get; set; }
///
/// 同一主体
///
public string[] ActualSubject { get; set; }
///
/// 是否需要计算CCR
///
public bool UseCCR { get; set; }
///
/// 限额维度
///
public int QuotaType { get; set; }
///
/// 限额指标
///
public string QuotaIndex { get; set; }
///
/// 预先检查
///
public bool? Precheck { get; set; }
///
/// 是否有持仓
///
public bool? HasPosition { get; set; }
///
/// 只看有效
///
public List UseValid { get; set; }
///
/// 确认状态
///
public List Status { get; set; }
///
/// 标签值
///
public List TagIds { get; set; }
public List UserAssets { get; set; }
public List UserClients { get; set; }
public List CurUserTradeIds { get; set; }
public List BookIds { get; set; }
}
public class ApprovalReqq
{
public int id { get; set; }
public string optType { get; set; }
public DateTime optDate { get; set; }
public string remark { get; set; }
}
///
/// 资产汇总
///
[NotMapped]
public class QuotaMonitor_AssetDto : QuotaMonitor_Asset
{ }
///
/// 品种汇总
///
[NotMapped]
public class QuotaMonitor_VarietyDto : QuotaMonitor_Variety
{ }
///
/// 标的汇总
///
[NotMapped]
public class QuotaMonitor_UnderlyingDto : QuotaMonitor_Underlying
{ }
///
/// 簿记汇总维度
///
[NotMapped]
public class QuotaMonitor_AssetunitDto : QuotaMonitor_Assetunit
{ }
///
/// 客户汇总
///
[NotMapped]
public class QuotaMonitor_ClientDto : QuotaMonitor_Client
{ }
///
/// 交易汇总
///
[NotMapped]
public class QuotaMonitor_TradeDto : QuotaMonitor_Trade
{
///
/// 交易Id
///
public trade trade { get; set; }
}
///
/// 整体业务汇总
///
[NotMapped]
public class QuotaMonitor_GlobalDto : QuotaMonitor_Global
{ }
}