using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("sys_keydata")] [Serializable] public class SysKeydata : BaseEntity { [Column("keydata_id")] [DisplayName(" ")] public int KeydataId { get; set; } [Column("keydata_name")] [DisplayName(" ")] public string KeydataName { get; set; } [Column("keydata_desc")] [DisplayName(" ")] public string KeydataDesc { get; set; } [Column("max_value")] [DisplayName(" ")] public decimal MaxValue { get; set; } [Column("min_value")] [DisplayName(" ")] public decimal MinValue { get; set; } [Column("max_tolerance")] [DisplayName(" ")] public decimal MaxTolerance { get; set; } [Column("min_tolerance")] [DisplayName(" ")] public decimal MinTolerance { get; set; } [Column("dc_type")] [DisplayName(" ")] public string DcType { get; set; } [Column("atlas_control_ip")] [DisplayName(" ")] public string AtlasControlIp { get; set; } [Column("atlas_pset_id")] [DisplayName(" ")] public string AtlasPsetId { get; set; } [Column("com_port")] [DisplayName(" ")] public string ComPort { get; set; } [Column("seq")] [DisplayName(" ")] public int? Seq { get; set; } #region 扩展字段 [NotMapped] [Column("Total")] [DisplayName(" ")] public string Total { get; set; } [NotMapped] [Column("name")] [DisplayName(" ")] public string Name { get; set; } [NotMapped] [Column("value")] [DisplayName(" ")] public string Value { get; set; } #endregion } }