namespace Yw.Application { /// /// /// public class HealthMultiEvaluationModelDto { /// /// /// public HealthMultiEvaluationModelDto() { } /// /// /// public HealthMultiEvaluationModelDto(Model.HealthMultiEvaluationModel rhs) { this.ID = rhs.ID; this.ParentID = rhs.ParentIds.LastOrDefault(); this.Name = rhs.Name; this.Method = rhs.Method; this.Flags = rhs.Flags; this.Weight = rhs.Weight; this.Deduction = rhs.Deduction; this.DefaultValue = rhs.DefaultValue; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// id /// public long ID { get; set; } /// /// 父级id /// public long ParentID { 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; } } }