Files
zszq-trs/Framework/YLErp.Core/DBModels/SensitiveData.cs
T
2024-05-09 14:06:26 +08:00

42 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.ComponentModel.DataAnnotations.Schema;
namespace YLErp.DBModels
{
/// <summary>
/// 敏感性数据
/// </summary>
[Table("Sensitive_Data")]
public class SensitiveData : DBModelBase
{
public DateTime ValueDate { get; set; }
public string tradeId { get; set; }
public DataType dataType { get; set; }
/// <summary>
/// 涨幅10% 期货类:delta 期权类:delta+gamma近似值,VaRVaR值
/// </summary>
public double? param1 { get; set; }
/// <summary>
/// 涨幅10% 计算结果
/// </summary>
public double? param2 { get; set; }
/// <summary>
/// 跌幅10%期货类:delta 近似值 期权类:delta+gamma近似值
/// </summary>
public double? param3 { get; set; }
/// <summary>
/// 跌幅10% 计算结果
/// </summary>
public double? param4 { get; set; }
}
public enum DataType
{
期权类,
期货类,
股票类,
VaR
}
}