76 lines
1.8 KiB
C#
76 lines
1.8 KiB
C#
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;
|
|
|
|
/// <summary>
|
|
/// 对账日期
|
|
/// </summary>
|
|
public DateTime ValueDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 交易编号
|
|
/// </summary>
|
|
public string TradeNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开始日期
|
|
/// </summary>
|
|
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; }
|
|
|
|
/// <summary>
|
|
/// 到期日期
|
|
/// </summary>
|
|
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; }
|
|
|
|
/// <summary>
|
|
/// 衡泰名义本金
|
|
/// </summary>
|
|
public decimal? StockEqvNotionalV2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 持仓市值衡泰
|
|
/// </summary>
|
|
public decimal? PvV2 { get; set; }
|
|
}
|
|
}
|