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

47 lines
1.2 KiB
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using YieldChain.Security;
namespace YLErp.DBModels
{
[Table("quotefiledetail")]
public class quotefiledetail
{
[Key]
public long id { get; set; }
/// <summary>
/// 加密主键
/// </summary>
[NotMapped]
public string EncryptId
{
get { return DataProtect.Encrypt(id.ToString()); }
}
/// <summary>
/// 报价文件id
/// </summary>
[DisplayName("报价文件id")]
public long QuoteFileId { get; set; }
/// <summary>
/// 证券代码
/// </summary>
[DisplayName("证券代码")]
public string UnderlyingCode { get; set; }
/// <summary>
/// 证券名称
/// </summary>
[DisplayName("证券名称")]
public string UnderlyingName { get; set; }
/// <summary>
/// 95C M1-105C M3 json数据
/// {
///"m1_95c":"8.45%",
///"m1_100c":"8.49%"
///}
/// </summary>
[DisplayName("95C M1-105C M3")]
public string DataJson { get; set; }
}
}