using BaseOUDAL;
namespace YLErp.Modules.SuperviseReportModule.CFMMC.Model
{
///
/// 场外衍生品业务信用额月报
///
public class SuperviseReportMonthlyCreditModel : SearchListResult
{
///
/// 风险管理公司名称
///
public string CompanyName { get; set; }
///
/// 统一社会信用代码
///
public string SuperviseMainCode { get; set; }
///
/// 报告期
///
public string DataDate { get; set; }
///
/// 填报日期
///
public string ReportDate { get; set; }
///
/// 填表人
///
public string ReportUser { get; set; }
///
/// 联系电话
///
public string Tel { get; set; }
///
/// 场外衍生品业务信用额信息
///
public IEnumerable CreditTable => rows;
public SuperviseReportMonthlyCreditModel() { }
public SuperviseReportMonthlyCreditModel(SearchListResult obj)
{
this.Msg = obj.Msg;
this.page = obj.page;
this.records = obj.records;
this.rows = obj.rows;
this.Sum = obj.Sum;
this.total = obj.total;
}
}
public class SuperviseReportMonthlyCreditRowModel
{
///
/// 编号
///
public string Number { get; set; }
///
/// 客户名称
///
public string ClientName { get; set; }
///
/// 统一社会信用代码
///
public string ClientLicenseCode { get; set; }
///
/// 统一社会信用代码
///
public string ClientOrganizationCode { get; set; }
///
/// 客户性质
///
public string CustomerNature { get; set; }
///
/// 公司给予客户授信额度
///
public double Credit { get; set; }
///
/// 客户信用额度冲抵范围
///
/// 建议使用中的常量
///
///
public string CreditRange { get; set; }
///
/// 如客户信用额度冲抵范围选择"其他",请具体说明
///
public string Remark { get; set; }
///
/// 客户已使用信用额度
///
public double ClientPositionCredit { get; set; }
///
/// 是否中小微企业
///
public string IsSmallAndMicroEnterprisesStr { get; set; }
///
/// 是否为上市公司
///
public string IsListedStr { get; set; }
///
/// 客户期末结存
///
public double AmountFund { get; set; }
///
/// 客户期末结存标准仓单
///
public double AmountFundNormal { get; set; }
public double PayableMargin { get; set; }
#region 辅助属性
///
/// 授信是否可以抵扣权利金
///
public bool IsTradeCredit { get; set; }
///
/// 客户id
///
public int ClientId { get; set; }
#endregion
}
public class CreditRange
{
///
/// 只能用于冲抵权利金
///
public const string CoverTradePrice = "只能用于冲抵权利金";
///
/// 只能用于冲抵初始预付金
///
public const string CoverInitMargin = "只能用于冲抵初始预付金";
///
/// 只能用于冲抵追加预付金
///
public const string CoverMargin = "只能用于冲抵追加预付金";
///
/// 可以用于冲抵初始预付金和追加预付金
///
public const string CoverInitMargin_Margin = "可以用于冲抵初始预付金和追加预付金";
///
/// 可以用于冲抵权利金和初始预付金
///
public const string CoverTradePrice_InitMargin = "可以用于冲抵权利金和初始预付金";
///
/// 可以用于冲抵权利金和追加预付金
///
public const string CoverTradePrice_Margin = "可以用于冲抵权利金和追加预付金";
///
/// 可以用于冲抵权利金、初始预付金和追加预付金
///
public const string CoverTradePrice_InitMargin_Margin = "可以用于冲抵权利金、初始预付金和追加预付金";
///
/// 可以用于冲抵权利金、初始预付金、追加预付金和期末损益
///
public const string CoverTradePrice_InitMargin_Margin_PnL = "可以用于冲抵权利金、初始预付金、追加预付金和期末损益";
///
/// 其他
///
public const string Other = "其他";
}
}