using System;
using System.Collections.Generic;
using System.Text;

namespace New_College.Model.ViewModels
{
    public class UniversityResult
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 排名
        /// </summary>
        public int? Rank { get; set; }
        /// <summary>
        /// 是否985
        /// </summary>
        public bool? Nhef { get; set; }
        /// <summary>
        /// 是否211
        /// </summary>
        public bool? Sff { get; set; }
        /// <summary>
        /// 是否双一流
        /// </summary>
        public bool? Syl { get; set; }
        /// <summary>
        /// 学校logo
        /// </summary>
        public string Logo { get; set; }
        /// <summary>
        /// 学校简介
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 省市区名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 办学性质
        /// </summary>
        public int Nature { get; set; }
        /// <summary>
        /// 隶属于
        /// </summary>
        public string AscriptionName { get; set; }
        /// <summary>
        /// 学科层次
        /// </summary>
        public int? SubjectLevel { get; set; }
        /// <summary>
        /// 学校类型
        /// </summary>
        public int? UniversityType { get; set; }
        /// <summary>
        /// 创办时间
        /// </summary>
        public string BuildDate { get; set; }
        /// <summary>
        /// 院士数
        /// </summary>
        public int? AcademicianCount { get; set; }
        /// <summary>
        /// 博士数
        /// </summary>
        public int DoctorateCount { get; set; }
        /// <summary>
        /// 硕士数
        /// </summary>
        public int MasterCount { get; set; }

        /// <summary>
        /// 是否收藏
        /// </summary>
        public bool? IsCollection { get; set; } = false;

        /// <summary>
        /// 是否对比
        /// </summary>
        public bool IsContrast { get; set; } = false;

        /// <summary>
        /// 是否分数接近
        /// </summary>
        public bool IsNearScore { get; set; } = false;

        /// <summary>
        /// 院校图片json
        /// </summary>
        public string Imglist { get; set; }

        public string naturedetail { get; set; }

        /// <summary>
        /// 长学校id
        /// </summary>
        public string LongSchoolId { get; set; }

        /// <summary>
        /// 最低录取分数
        /// </summary>
        public float ScoreLine { get; set; }
        /// <summary>
        /// 位次
        /// </summary>
        public float Scorepostion { get; set; }

    }

    /// <summary>
    /// 
    /// </summary>
    public class UniversityDetailResponse
    {
        /// <summary>
        /// -1代表 id为空  -2代表院校为空
        /// </summary>
        public int Status { get; set; }
        public UniversityResult universityResult { get; set; }

        public List<RelatedMajorModel> relatedMajors { get; set; }
        /// <summary>
        /// 特色专业
        /// </summary>
        public List<RelatedMajorModel> relatespMajors { get; set; }

        /// <summary>
        /// 毕业生省份流向
        /// </summary>
        public graduateModel graduateModels { get; set; }
    }



    /// <summary>
    /// 相关专业
    /// </summary>
    public class RelatedMajorModel
    {
        public int mid { get; set; }

        public string majorName { get; set; }

    }




    /// <summary>
    /// 毕业生省份流向
    /// </summary>
    public class graduateModel
    {

        public object provinces { get; set; }

        public object attrs { get; set; }

    }

    /// <summary>
    /// 院校招生计划
    /// </summary>
    public class NewPlanDescList
    {
        public string Name { get; set; }
        public int PlanNum { get; set; }
        public string Money { get; set; }
        public string Scoreline { get; set; }
    }

    public class BatchYear
    {
        public List<string> Batch { get; set; }
        public List<int> Year { get; set; }
        public List<string> Type { get; set; }
    }

    public class UniversityRankList
    {
        /// <summary>
        /// 院校名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排名 最新
        /// </summary>
        public int Sort { get; set; }

    }

    /// <summary>
    /// 录取概率分析结果
    /// </summary>
    public class UniversityProbabilityResult
    {
        /// <summary>
        /// 是否985
        /// </summary>
        public bool? Nhef { get; set; }
        /// <summary>
        /// 是否211
        /// </summary>
        public bool? Sff { get; set; }
        /// <summary>
        /// 是否双一流
        /// </summary>
        public bool? Syl { get; set; }
        /// <summary>
        /// 学校logo
        /// </summary>
        public string Logo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 省市区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 学科层次
        /// </summary>
        public int? SubjectLevel { get; set; }
        /// <summary>
        /// 办学性质
        /// </summary>
        public int Nature { get; set; }
        /// <summary>
        /// 隶属于
        /// </summary>
        public string AscriptionName { get; set; }

        /// <summary>
        /// 排行
        /// </summary>
        public int Rank { get; set; }

        /// <summary>
        /// 概率
        /// </summary>
        public float Probability { get; set; }

        /// <summary>
        /// 预估分数
        /// </summary>
        public float EstimateScore { get; set; }

        /// <summary>
        /// 历年最低分
        /// </summary>
        public List<YearBatchScore> YearBatchScores { get; set; }

        /// <summary>
        /// 建议
        /// </summary>
        public string Proposal { get; set; }
    }

    /// <summary>
    /// 历年最低分
    /// </summary>
    public class YearBatchScore
    {
        /// <summary>
        /// 年份
        /// </summary>
        public int Year { get; set; }

        /// <summary>
        /// 批次名称
        /// </summary>
        public string BatchName { get; set; }

        /// <summary>
        /// 最低分
        /// </summary>
        public float Score { get; set; }
    }
}
