using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CompanyServer.CustomModel
{
    public class DiseaseModel
    {
        /// <summary>
        /// 三级疾病名称
        /// </summary>
        public string DiseaseName { get; set; }

        /// <summary>
        /// 三级疾病其他
        /// </summary>
        public string OtherDiseaseName { get; set; }
    }

    public class SecondaryDiseaseModel
    {
        /// <summary>
        /// 二级疾病编号
        /// </summary>
        public string SecondaryDiseaseCode { get; set; }

        /// <summary>
        /// 二级疾病名称
        /// </summary>
        public string SecondaryDiseaseName { get; set; }

        /// <summary>
        /// 三级疾病数据
        /// </summary>
        public List<DiseaseModel> SecondaryDiseaseData;
    }
    public class PrimaryDiseaseModel
    {
        /// <summary>
        /// 一级疾病编号
        /// </summary>
        public string PrimaryDiseaseCode { get; set; }

        /// <summary>
        /// 一级疾病名称
        /// </summary>
        public string PrimaryDiseaseName { get; set; }

        /// <summary>
        /// 二级疾病数据
        /// </summary>
        public List<SecondaryDiseaseModel> DiseaseData;

    }


    public class AllDiseaseModel
    {
        /// <summary>
        /// 一级疾病编号
        /// </summary>
        public string PrimaryDiseaseCode { get; set; }

        /// <summary>
        /// 一级疾病名称
        /// </summary>
        public string PrimaryDiseaseName { get; set; }

        /// <summary>
        /// 二级疾病编号
        /// </summary>
        public string SecondaryDiseaseCode { get; set; }

        /// <summary>
        /// 二级疾病名称
        /// </summary>
        public string SecondaryDiseaseName { get; set; }
        /// <summary>
        /// 三级疾病名称
        /// </summary>
        public string DiseaseName { get; set; }

        /// <summary>
        /// 三级疾病其他
        /// </summary>
        public string OtherDiseaseName { get; set; }
    }
}
