using YLErp.Commons; namespace YLErp.Model { public class SuperviseClientCashReportModel { /// /// 序号 /// public int Index { get; set; } /// /// 子公司名称 /// public string CompanyName { get; set; } /// /// 时间 /// public DateTime Date { get; set; } /// /// 交易对手方ID /// public int ClientId { get; set; } /// /// 交易对手方名称 /// public string ClientName { get; set; } /// /// 交易对手方类型 /// public string ClientType { get; internal set; } /// /// 统一社会信用代码 /// public string ClientLicenseCode { get; set; } private double _clientTotalCredit; /// /// 授信总额 /// public double ClientTotalCredit { get => _clientTotalCredit; set { _clientTotalCredit = OtcFormatHelper.FormatValue(value, 4); } } private double _clientPositionCredit; /// /// 客户已使用子公司给予的授信额度 /// public double ClientPositionCredit { get => _clientPositionCredit; set { _clientPositionCredit = OtcFormatHelper.FormatValue(value, 4); } } private double _companyPositionCredit; /// /// 子公司已使用客户给予的授信额度 /// public double CompanyPositionCredit { get => _companyPositionCredit; set { _companyPositionCredit = OtcFormatHelper.FormatValue(value, 4); } } private double _currMargin; /// /// 预付金实际占用 /// public double CurrMargin { get => _currMargin; set { _currMargin = OtcFormatHelper.FormatValue(value, 4); } } private double _currFund; /// /// 权利金占用 /// public double CurrFund { get => _currFund; set { _currFund = OtcFormatHelper.FormatValue(value, 4); } } private double _available; /// /// 可用资金 /// public double Available { get => _available; set { _available = OtcFormatHelper.FormatValue(value, 4); } } private double _addFunds; /// /// 应追加资金 /// public double AddFunds { get => _addFunds; set { _addFunds = OtcFormatHelper.FormatValue(value, 4); } } /// /// 持仓盈亏 /// public double? PositionPnl { get; set; } internal double? ToDayRemainFund { get; set; } internal double? MarginBalance { get; set; } internal double? PayableMargin { get; set; } } }