namespace Yw.Application.Health
{
///
///
///
public class Mapper : IRegister
{
///
///
///
///
public void Register(TypeAdapterConfig config)
{
#region 1-health-index
config.ForType();
config.ForType();
#endregion
#region 2-health-result
config.ForType();
config.ForType();
#endregion
#region 3-health-importance
config.ForType();
config.ForType();
#endregion
#region 4-health-deterioration
config.ForType();
config.ForType();
#endregion
#region 5-health-quota-evaluation-model
config.ForType()
.Map(dest => dest.Way, src => eEvaluateWay.Auto)
.Map(dest => dest.Evaluation, src => src.Evaluation.ToJson());
config.ForType()
.Map(dest => dest.Way, src => eEvaluateWay.Hand)
.Map(dest => dest.Evaluation, src => src.Evaluation.ToJson());
config.ForType();
config.ForType()
.Map(dest => dest.Evaluation, src => src.Evaluation.ToJson());
config.ForType()
.Map(dest => dest.Evaluation, src => src.Evaluation.ToJson());
config.ForType();
config.ForType();
#endregion
#region 6-health-multi-evaluation-model
config.ForType();
config.ForType();
config.ForType();
#endregion
#region 7-health-multi-evaluation-model-item
config.ForType();
config.ForType();
config.ForType();
#endregion
#region 8-health-multi-evaluation-model-condition
config.ForType();
config.ForType();
config.ForType();
#endregion
}
}
}