namespace Yw.Model { /// /// 综合健康评价模型项 /// public class HealthMultiEvaluationModelItem : BaseModel, System.ICloneable { /// /// /// public HealthMultiEvaluationModelItem() { } /// /// /// public HealthMultiEvaluationModelItem(HealthMultiEvaluationModelItem rhs) : base(rhs) { this.ModelID = rhs.ModelID; this.Name = rhs.Name; this.Flags = rhs.Flags?.ToList(); this.SignalTypeID = rhs.SignalTypeID; this.Weight = rhs.Weight; this.Deduction = rhs.Deduction; this.DefaultValue = rhs.DefaultValue; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(HealthMultiEvaluationModelItem rhs) { this.ID = rhs.ID; this.ModelID = rhs.ModelID; this.Name = rhs.Name; this.Flags = rhs.Flags?.ToList(); this.SignalTypeID = rhs.SignalTypeID; this.Weight = rhs.Weight; this.Deduction = rhs.Deduction; this.DefaultValue = rhs.DefaultValue; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 模型id /// public long ModelID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 标签列表 /// public List Flags { get; set; } /// /// 信号类型 id /// public long SignalTypeID { get; set; } /// /// 权重 /// public int Weight { get; set; } /// /// 扣分 /// public int Deduction { get; set; } /// /// 默认扣分值 /// public double DefaultValue { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public HealthMultiEvaluationModelItem Clone() { return new HealthMultiEvaluationModelItem(this); } object ICloneable.Clone() { return Clone(); } } }