using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YLErp.Modules.DataCompare.Dto { public class OnlyHengTaiDataDto { public long id { get; set; } = 0; /// /// 对账日期 /// public DateTime ValueDate { get; set; } /// /// 交易编号 /// public string TradeNumber { get; set; } /// /// 开始日期 /// public DateTime? StartDate { get { if (!string.IsNullOrEmpty(StartDateStr)) { DateTime result; if (DateTime.TryParse(StartDateStr, out result)) { return result; } } return null; } } public string StartDateStr { get; set; } /// /// 到期日期 /// public DateTime? EndDate { get { if (!string.IsNullOrEmpty(EndDateStr)) { DateTime result; if (DateTime.TryParse(EndDateStr, out result)) { return result; } } return null; } } public string EndDateStr { get; set; } /// /// 衡泰名义本金 /// public decimal? StockEqvNotionalV2 { get; set; } /// /// 持仓市值衡泰 /// public decimal? PvV2 { get; set; } } }