using System.ComponentModel.DataAnnotations.Schema; namespace YLErp.DBModels { [Table("user_defined_structure_published")] public class UserDefinedStructurePublished : DBModelWithOperator { [DisplayName("结构代码")] public string StructureCode { get; set; } [DisplayName("结构名称")] public string StructureName { get; set; } [DisplayName("定价方式")] public string PricingMethod { get; set; } [DisplayName("字段定义")] public string FieldDefinitions { get; set; } [DisplayName("Payoff定义")] public string PayoffDescription { get; set; } [DisplayName("价格分布")] public string PriceDistribution { get; set; } [DisplayName("最近发布时间")] public DateTime? LastPublishTime { get; set; } [NotMapped] public List Fields { get; set; } } }