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; } /// /// 加密主键 /// [NotMapped] public string EncryptId { get { return DataProtect.Encrypt(id.ToString()); } } /// /// 报价文件id /// [DisplayName("报价文件id")] public long QuoteFileId { get; set; } /// /// 证券代码 /// [DisplayName("证券代码")] public string UnderlyingCode { get; set; } /// /// 证券名称 /// [DisplayName("证券名称")] public string UnderlyingName { get; set; } /// /// 95C M1-105C M3 json数据 /// { ///"m1_95c":"8.45%", ///"m1_100c":"8.49%" ///} /// [DisplayName("95C M1-105C M3")] public string DataJson { get; set; } } }