namespace Yw.Model { /// /// 综合评价模型 /// public class HealthMultiEvaluationModel : BaseModel, System.ICloneable { /// /// /// public HealthMultiEvaluationModel() { } /// /// /// public HealthMultiEvaluationModel(HealthMultiEvaluationModel rhs) : base(rhs) { this.ParentIds = rhs.ParentIds?.ToList(); this.Name = rhs.Name; this.Method = rhs.Method; this.Flags = rhs.Flags?.ToList(); this.Weight = rhs.Weight; this.Deduction = rhs.Deduction; this.DefaultValue = rhs.DefaultValue; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(HealthMultiEvaluationModel rhs) { this.ID = rhs.ID; this.ParentIds = rhs.ParentIds?.ToList(); this.Name = rhs.Name; this.Method = rhs.Method; this.Flags = rhs.Flags?.ToList(); this.Weight = rhs.Weight; this.Deduction = rhs.Deduction; this.DefaultValue = rhs.DefaultValue; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 父级id列表 /// public List ParentIds { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 评价方法 /// public eEvaluateMethod Method { get; set; } /// /// 标签列表 /// public List Flags { 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 HealthMultiEvaluationModel Clone() { return new HealthMultiEvaluationModel(this); } object ICloneable.Clone() { return Clone(); } } }