namespace Yw.Entity { /// /// 评价结果 /// [SugarTable("health_result")] public class HealthResult : BaseEntity, ISorter, System.ICloneable { /// /// /// public HealthResult() { } /// /// /// public HealthResult(HealthResult rhs) : base(rhs) { this.ShortName = rhs.ShortName; this.FullName = rhs.FullName; this.Severity = rhs.Severity; this.Color = rhs.Color; this.MinValue = rhs.MinValue; this.MinType = rhs.MinType; this.MaxValue = rhs.MaxValue; this.MaxType = rhs.MaxType; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 简称 /// public string ShortName { get; set; } /// /// 全称 /// public string FullName { get; set; } /// /// 严重程度(值越大、越严重) /// public int Severity { get; set; } /// /// 颜色 (#000000) /// public string Color { get; set; } /// /// 下限 /// public int MinValue { get; set; } /// /// 下限类型 /// public int MinType { get; set; } /// /// 上限 /// public int MaxValue { get; set; } /// /// 上限类型 /// public int MaxType { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public HealthResult Clone() { return (HealthResult)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }