322 lines
8.8 KiB
C#
322 lines
8.8 KiB
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.NET.Core.Service;
|
|
public class XueXiaoDto
|
|
{
|
|
}
|
|
|
|
public class XueXiaoRootobject
|
|
{
|
|
public int code { get; set; }
|
|
public string msg { get; set; }
|
|
public XueXiaoData data { get; set; }
|
|
}
|
|
|
|
public class XueXiaoData
|
|
{
|
|
public int total { get; set; }
|
|
public string has_next { get; set; }
|
|
public string page { get; set; }
|
|
public string perpage { get; set; }
|
|
public XueXiaoParams _params { get; set; }
|
|
public XueXiaoParamslist paramsList { get; set; }
|
|
public XueXiaoDatum[] data { get; set; }
|
|
}
|
|
|
|
public class XueXiaoParams
|
|
{
|
|
public string area { get; set; }
|
|
public string type { get; set; }
|
|
public string nature { get; set; }
|
|
public string grade { get; set; }
|
|
public string is_bz { get; set; }
|
|
public string cname { get; set; }
|
|
public string page { get; set; }
|
|
public string perpage { get; set; }
|
|
public string timestamp { get; set; }
|
|
}
|
|
|
|
public class XueXiaoParamslist
|
|
{
|
|
public XueXiaoArealist[] arealist { get; set; }
|
|
public XueXiaoTypelist[] typelist { get; set; }
|
|
public XueXiaoNaturelist[] naturelist { get; set; }
|
|
public XueXiaoXingzhilist[] xingzhilist { get; set; }
|
|
public XueXiaoClasslist[] classlist { get; set; }
|
|
}
|
|
|
|
public class XueXiaoArealist
|
|
{
|
|
public int id { get; set; }
|
|
public string area { get; set; }
|
|
public string province { get; set; }
|
|
public string city { get; set; }
|
|
public int create_time { get; set; }
|
|
public string text { get; set; }
|
|
public XueXiaoChild[] children { get; set; }
|
|
}
|
|
|
|
public class XueXiaoChild
|
|
{
|
|
public int id { get; set; }
|
|
public string area { get; set; }
|
|
public string province { get; set; }
|
|
public string city { get; set; }
|
|
public int create_time { get; set; }
|
|
public string text { get; set; }
|
|
}
|
|
|
|
public class XueXiaoTypelist
|
|
{
|
|
public int id { get; set; }
|
|
public string type_name { get; set; }
|
|
public int create_time { get; set; }
|
|
public int list_order { get; set; }
|
|
}
|
|
|
|
public class XueXiaoNaturelist
|
|
{
|
|
public int id { get; set; }
|
|
public string nature_name { get; set; }
|
|
public int create_time { get; set; }
|
|
public int list_order { get; set; }
|
|
public int staue { get; set; }
|
|
}
|
|
|
|
public class XueXiaoXingzhilist
|
|
{
|
|
public int id { get; set; }
|
|
public string nature_name { get; set; }
|
|
public int create_time { get; set; }
|
|
public int list_order { get; set; }
|
|
public int staue { get; set; }
|
|
}
|
|
|
|
public class XueXiaoClasslist
|
|
{
|
|
public int id { get; set; }
|
|
public string nature_name { get; set; }
|
|
public int create_time { get; set; }
|
|
public int list_order { get; set; }
|
|
public int staue { get; set; }
|
|
}
|
|
|
|
public class XueXiaoDatum
|
|
{
|
|
[BsonId]
|
|
public long _id { get; set; }
|
|
public string college_name { get; set; }
|
|
public string college_name_display { get; set; }
|
|
public string rk_ranking_2024 { get; set; }
|
|
public int rk_ranking_list { get; set; }
|
|
public string college_class { get; set; }
|
|
public string college_nature { get; set; }
|
|
public XueXiaoDetail detail { get; set; }
|
|
public string rk_ranking { get; set; }
|
|
}
|
|
|
|
public class universitychangeidDto
|
|
{
|
|
[JsonConverter(typeof(ObjectIdConverter))]
|
|
public ObjectId _id { get; set; }
|
|
|
|
public int yid { get; set; }
|
|
|
|
public int newid { get; set; }
|
|
|
|
public string universityname { get; set; }
|
|
|
|
}
|
|
public class XueXiaoDetail
|
|
{
|
|
public long _id { get; set; }
|
|
public string college_name { get; set; }
|
|
public string college_logo { get; set; }
|
|
public string ex_rate { get; set; }
|
|
public string college_class { get; set; }
|
|
public double? college_create_time { get; set; }
|
|
public string master_num { get; set; }
|
|
public string doctor_num { get; set; }
|
|
public string college_nature { get; set; }
|
|
public string college_type { get; set; }
|
|
public string college_area { get; set; }
|
|
public string college_competent { get; set; }
|
|
public List<string> college_grade { get; set; }
|
|
public string wsl_ranking { get; set; }
|
|
public string rk_ranking { get; set; }
|
|
public string enrollment_rate_in { get; set; }
|
|
public string enrollment_rate_out { get; set; }
|
|
public string job_report { get; set; }
|
|
}
|
|
|
|
public class provinceInfoobject
|
|
{
|
|
public int code { get; set; }
|
|
public string msg { get; set; }
|
|
public provinceInfoData data { get; set; }
|
|
}
|
|
|
|
public class provinceInfoData
|
|
{
|
|
public List<provinceInfoList> list { get; set; }
|
|
}
|
|
|
|
public class provinceInfoList
|
|
{
|
|
public string id { get; set; }
|
|
public string name { get; set; }
|
|
}
|
|
|
|
|
|
|
|
public class xueXiaomajorobject
|
|
{
|
|
public int code { get; set; }
|
|
public string msg { get; set; }
|
|
public xuexiaomajorData data { get; set; }
|
|
}
|
|
|
|
public class xuexiaomajorData
|
|
{
|
|
public Collegetag collegeTag { get; set; }
|
|
public xuexiaomajorConfiglist configList { get; set; }
|
|
public List<xuexiaomajorList> list { get; set; }
|
|
}
|
|
|
|
|
|
public class xuexiaomajorConfiglist
|
|
{
|
|
public string proDefault { get; set; }
|
|
public int yearDefault { get; set; }
|
|
public int subjectDefault { get; set; }
|
|
public int batchDefault { get; set; }
|
|
public Yearlist[] yearList { get; set; }
|
|
public Subjectlist[] subjectList { get; set; }
|
|
public Batchlist[] batchList { get; set; }
|
|
}
|
|
public class Collegetag
|
|
{
|
|
public string id { get; set; }
|
|
public string college_name { get; set; }
|
|
public string college_logo { get; set; }
|
|
public string college_class { get; set; }
|
|
public string college_create_time { get; set; }
|
|
public string master_num { get; set; }
|
|
public string doctor_num { get; set; }
|
|
public string college_nature { get; set; }
|
|
public string college_type { get; set; }
|
|
public string college_area { get; set; }
|
|
public string college_competent { get; set; }
|
|
public string[] college_grade { get; set; }
|
|
public string wsl_ranking { get; set; }
|
|
public string rk_ranking { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Batchlist
|
|
{
|
|
public int batch_id { get; set; }
|
|
public string batch_name { get; set; }
|
|
public bool selected { get; set; }
|
|
}
|
|
|
|
public class xuexiaomajorList
|
|
{
|
|
public int id { get; set; }
|
|
public int scoreline_major_id { get; set; }
|
|
public string college_code { get; set; }
|
|
public string college_recruit_name { get; set; }
|
|
public int match_college_id { get; set; }
|
|
public int college_id { get; set; }
|
|
public string b_college_name { get; set; }
|
|
public string major_code { get; set; }
|
|
public string major_name { get; set; }
|
|
public string major_memo { get; set; }
|
|
public string enroll_num { get; set; }
|
|
public string score_min { get; set; }
|
|
public string score_max { get; set; }
|
|
public string score_average { get; set; }
|
|
public string rank_min { get; set; }
|
|
public string rank_max { get; set; }
|
|
public string rank_average { get; set; }
|
|
public string post_score { get; set; }
|
|
public string post_score_grading { get; set; }
|
|
public string volunteer_type { get; set; }
|
|
public string second_subject { get; set; }
|
|
public string group_code { get; set; }
|
|
public string group_name { get; set; }
|
|
public int year { get; set; }
|
|
}
|
|
|
|
|
|
public class xuexiaoCollegeDataobject
|
|
{
|
|
public int code { get; set; }
|
|
public string msg { get; set; }
|
|
public xuexiaoCollegeData data { get; set; }
|
|
}
|
|
|
|
public class xuexiaoCollegeData
|
|
{
|
|
public College_Data_Tag tag { get; set; }
|
|
public College_Data data { get; set; }
|
|
}
|
|
|
|
public class College_Data_Tag
|
|
{
|
|
public string id { get; set; }
|
|
public string college_name { get; set; }
|
|
public string college_logo { get; set; }
|
|
public string ex_rate { get; set; }
|
|
public string college_class { get; set; }
|
|
public string college_create_time { get; set; }
|
|
public string master_num { get; set; }
|
|
public string college_nature { get; set; }
|
|
public string college_type { get; set; }
|
|
public string college_area { get; set; }
|
|
public string college_competent { get; set; }
|
|
public string[] college_grade { get; set; }
|
|
public string wsl_ranking { get; set; }
|
|
public string rk_ranking { get; set; }
|
|
public string enrollment_rate_in { get; set; }
|
|
public string enrollment_rate_out { get; set; }
|
|
public string job_report { get; set; }
|
|
}
|
|
|
|
public class College_Data
|
|
{
|
|
public string college_introduce { get; set; }
|
|
}
|
|
|
|
|
|
public class NewsData
|
|
{
|
|
public List<int> province { get; set; }
|
|
public Dictionary<string, List<int>> year { get; set; }
|
|
public Dictionary<string, List<int>> type { get; set; }
|
|
public Dictionary<string, List<int>> batch { get; set; }
|
|
}
|
|
|
|
public class Data
|
|
{
|
|
public NewsData newsdata { get; set; }
|
|
}
|
|
|
|
public class BatchRoot
|
|
{
|
|
public string code { get; set; }
|
|
public string message { get; set; }
|
|
public Data data { get; set; }
|
|
}
|