// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 // // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 // // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! using MessagePack.Formatters; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.NET.Core.Service; public class uNiversityTask { [BsonId] public long _id { get; set; } public string name { get; set; } public string nature { get; set; } public string provinceName { get; set; } public string cityName { get; set; } public string collegeCode { get; set; } public int rank { get; set; } } public class UniversityDto { [BsonId] public long _id { get; set; } public string name { get; set; } public string provinceName { get; set; } public string cityName { get; set; } public Resourcecount? resourcecount { get; set; } public string weburl { get; set; } public string logo { get; set; } public string rank { get; set; } public string collegeCode { get; set; } public string address { get; set; } [BsonElement("imglist")] public List imglist { get; set; } public string vrurl { get; set; } public string phone { get; set; } public List features { get; set; } public string belong { get; set; } public int? level { get; set; } public string builddate { get; set; } public List utype { get; set; } public string nature { get; set; } } public class GaokaoObject { public string code { get; set; } public string message { get; set; } public List data { get; set; } public string md5 { get; set; } } public class Datum { public long school_id { get; set; } public string name { get; set; } public string _short { get; set; } public string old_name { get; set; } public string type { get; set; } public long proid { get; set; } } public class GaokaoDatum { [BsonRepresentation(BsonType.ObjectId)] public string _id { get; set; } public long school_id { get; set; } public string name { get; set; } public string _short { get; set; } public string old_name { get; set; } public string type { get; set; } public long proid { get; set; } } public class univercachDto { [BsonId] public long _id { get; set; } public string name { get; set; } public string logo { get; set; } } public class University_wDto { [BsonId] public long _id { get; set; } public string name { get; set; } public string provinceName { get; set; } public string cityName { get; set; } public string weburl { get; set; } public int rank { get; set; } public string logo { get; set; } public string collegeCode { get; set; } public string address { get; set; } public string phone { get; set; } public Resourcecount? resourcecount { get; set; } [BsonElement("imglist")] public List imglist { get; set; } public string vrurl { get; set; } public List features { get; set; } public string belong { get; set; } public int level { get; set; } public string builddate { get; set; } public string utype { get; set; } public string nature { get; set; } /// /// 招生计划总人数 /// public int planCount { get; set; } /// /// 招生专业总数量 /// public int MajorCount { get; set; } } public class University_wwDto { [BsonId] public long _id { get; set; } public string name { get; set; } public string provinceName { get; set; } public string cityName { get; set; } public string weburl { get; set; } public int rank { get; set; } public string logo { get; set; } public string collegeCode { get; set; } public string address { get; set; } public string phone { get; set; } public Resourcecount? resourcecount { get; set; } [BsonElement("imglist")] public List imglist { get; set; } public string vrurl { get; set; } public List features { get; set; } public string belong { get; set; } public int level { get; set; } public string builddate { get; set; } public List utype { get; set; } public string nature { get; set; } /// /// 招生计划总人数 /// public int planCount { get; set; } /// /// 招生专业总数量 /// public int MajorCount { get; set; } } public class Resourcecount { /// /// /// public string academician { get; set; } /// /// /// public string doctorate { get; set; } /// /// /// public string master { get; set; } } public class UniversityDetailResponse { public UniversityDetailDto universityResult { get; set; } public Relatedmajor[] relatedMajors { get; set; } public Graduatemodels graduateModels { get; set; } } public class UniversityDetailDto { [BsonId] public long _id { get; set; } public string name { get; set; } public string provinceName { get; set; } public string cityName { get; set; } public Resourcecount? resourcecount { get; set; } public string weburl { get; set; } public string logo { get; set; } public string rank { get; set; } public string collegeCode { get; set; } public string address { get; set; } public List imglist { get; set; } public string vrurl { get; set; } public string phone { get; set; } public List features { get; set; } public string belong { get; set; } public int? level { get; set; } public bool isCollect { get; set; } = false; public string builddate { get; set; } public List utype { get; set; } public string nature { get; set; } public string detail { get; set; } } public class SpNamesObject { public string code { get; set; } public string message { get; set; } public SpNameData data { get; set; } public string location { get; set; } public string encrydata { get; set; } } public class SpNameData { public List item { get; set; } public int numFound { get; set; } } public class SpNameItem { //[BsonId] //[JsonConverter(typeof(ObjectIdConverter))] //public Object _id { get; set; } public string first_km { get; set; } public string info { get; set; } public string length { get; set; } public string level2_name { get; set; } public string level3_name { get; set; } public string local_batch_name { get; set; } public string local_province_name { get; set; } public string local_type_name { get; set; } public string name { get; set; } public string num { get; set; } public string province_name { get; set; } public string remark { get; set; } public long school_id { get; set; } public string sg_fxk { get; set; } public string sg_info { get; set; } public string sg_name { get; set; } public string sg_sxk { get; set; } public int sg_type { get; set; } public string sp_fxk { get; set; } public string sp_info { get; set; } public string sp_name { get; set; } public string sp_sxk { get; set; } public string sp_type { get; set; } public string sp_xuanke { get; set; } public string spcode { get; set; } public string special_group { get; set; } public string spname { get; set; } public string tuition { get; set; } public string year { get; set; } public string zslx_name { get; set; } } public class SpNameScorebject { public string code { get; set; } public string message { get; set; } public SpNameScoreData data { get; set; } public string location { get; set; } public string encrydata { get; set; } } public class SpNameScoreData { public List item { get; set; } public int numFound { get; set; } } public class SpNameScoreItem { //[BsonId] //[JsonConverter(typeof(ObjectIdConverter))] //public Object _id { get; set; } public string average { get; set; } public int doublehigh { get; set; } public string dual_class_name { get; set; } public int first_km { get; set; } public string id { get; set; } public string info { get; set; } public int is_score_range { get; set; } public int is_top { get; set; } public string level2_name { get; set; } public string level3_name { get; set; } public string local_batch_name { get; set; } public string local_province_name { get; set; } public string local_type_name { get; set; } public string max { get; set; } public int min { get; set; } public string min_range { get; set; } public string min_rank_range { get; set; } public int min_section { get; set; } public string name { get; set; } public string proscore { get; set; } public string remark { get; set; } public long school_id { get; set; } public string sg_fxk { get; set; } public string sg_info { get; set; } public string sg_name { get; set; } public string sg_sxk { get; set; } public int sg_type { get; set; } public string single { get; set; } public string sp_fxk { get; set; } public string sp_info { get; set; } public string sp_name { get; set; } public string sp_scode { get; set; } public string sp_sxk { get; set; } public int sp_type { get; set; } public int spe_id { get; set; } public int special_group { get; set; } public int special_id { get; set; } public string spname { get; set; } public int year { get; set; } public string zslx_name { get; set; } } // 定义 JSON 数据的类结构 public class PeiZhiRoot { public string code { get; set; } public string message { get; set; } public NewsDicData data { get; set; } } public class NewsDicData { public Newsdata newsdata { get; set; } } public class Newsdata { public Dictionary> type { get; set; } } public class like_spnameObject { public string code { get; set; } public string message { get; set; } public like_spnameData data { get; set; } public string location { get; set; } public string encrydata { get; set; } } public class like_spnameData { public List item { get; set; } public int numFound { get; set; } } public class like_DataItem { [BsonId] [JsonConverter(typeof(ObjectIdConverter))] public Object _id { get; set; } public string average { get; set; } public int doublehigh { get; set; } public string dual_class_name { get; set; } public int first_km { get; set; } public string id { get; set; } public string info { get; set; } public int is_score_range { get; set; } public int is_top { get; set; } public string level2_name { get; set; } public string level3_name { get; set; } public string local_batch_name { get; set; } public string local_province_name { get; set; } public string local_type_name { get; set; } public int max { get; set; } public int min { get; set; } public string min_range { get; set; } public string min_rank_range { get; set; } public int min_section { get; set; } public string name { get; set; } public int proscore { get; set; } public string remark { get; set; } public int school_id { get; set; } public string sg_fxk { get; set; } public string sg_info { get; set; } public string sg_name { get; set; } public string sg_sxk { get; set; } public int sg_type { get; set; } public string single { get; set; } public string sp_fxk { get; set; } public string sp_info { get; set; } public string sp_name { get; set; } public string sp_sxk { get; set; } public int sp_type { get; set; } public int spe_id { get; set; } public int special_group { get; set; } public int special_id { get; set; } public string spname { get; set; } public int year { get; set; } public string zslx_name { get; set; } } public class FacultyRootobject { public int code { get; set; } public string msg { get; set; } public FacultyData data { get; set; } } public class FacultyData { public FacultylistTag tag { get; set; } public List facultyList { get; set; } } public class FacultylistTag { 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 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 string enrollment_rate_in { get; set; } public string enrollment_rate_out { get; set; } public string job_report { get; set; } } public class Facultylist { [BsonId] public long _id { get; set; } public long base_college_id { get; set; } public string college_faculty { get; set; } public string create_time { get; set; } public List subject { get; set; } } public class Subject { public long id { get; set; } public long base_college_id { get; set; } public long college_faculty_id { get; set; } public string faculty_subject { get; set; } public string create_time { get; set; } } public class uniTreeMajorItems { public int ParnetId { get; set; } public int Id { get; set; } public string Name { get; set; } public List Item { get; set; } public int MajorNum { get; set; } } public class Recruitlistobject { public int code { get; set; } public string msg { get; set; } public RecruitlistData data { get; set; } } public class RecruitlistData { public RecruitlistTag tag { get; set; } public List recruit { get; set; } } public class RecruitlistTag { 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 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 RecruitlistRecruit { [BsonId] public long id { get; set; } public long base_college_id { get; set; } public string year { get; set; } public string college_name { get; set; } public string title { get; set; } } public class Recruitobject { public int code { get; set; } public string msg { get; set; } public RecruitData data { get; set; } } public class RecruitData { public Object tag { get; set; } public RecruitDetailDto recruit { get; set; } } public class RecruitDetailDto { [BsonId] public long id { get; set; } public long base_college_id { get; set; } public string year { get; set; } public string college_name { get; set; } public string title { get; set; } public string content { get; set; } public long create_time { get; set; } public int is_artsys { get; set; } public string artsys_url { get; set; } } public class SubjectIntroduceRootobject { public int code { get; set; } public string msg { get; set; } public SubjectIntroducev1Data? data { get; set; } } public class SubjectIntroducev1Data { public SubjectIntroduceTag? tag { get; set; } public SubjectIntroduceData? data { get; set; } } public class SubjectIntroduceTag { 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 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 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 SubjectIntroduceData { [BsonId] [JsonConverter(typeof(ObjectIdConverter))] public Object _id { get; set; } public long base_college_id { get; set; } public List first_subject_list { get; set; } public List second_subject_list { get; set; } public List feature_subject_list { get; set; } public List stress_subject_list { get; set; } public List double_subject_list { get; set; } public List assessment_subject_list { get; set; } public List assessment_subject_list_new { get; set; } } public class Assessment_Subject_List_New { public string type { get; set; } public int count { get; set; } public List data { get; set; } } public class plannewCombianData { public string average { get; set; } public int doublehigh { get; set; } public string dual_class_name { get; set; } public int first_km { get; set; } public string info { get; set; } public int is_score_range { get; set; } public int is_top { get; set; } public string level2_name { get; set; } public string level3_name { get; set; } public string local_batch_name { get; set; } public string local_province_name { get; set; } public string local_type_name { get; set; } public string max { get; set; } public int min { get; set; } public string min_range { get; set; } public string min_rank_range { get; set; } public int min_section { get; set; } public string name { get; set; } public string proscore { get; set; } public string remark { get; set; } public long school_id { get; set; } public string sg_fxk { get; set; } public string sg_info { get; set; } public string sg_name { get; set; } public string sg_sxk { get; set; } public int sg_type { get; set; } public string single { get; set; } public string sp_fxk { get; set; } public string sp_info { get; set; } public string sp_name { get; set; } public string sp_scode { get; set; } public string sp_sxk { get; set; } public int sp_type { get; set; } public int spe_id { get; set; } public int special_group { get; set; } public int special_id { get; set; } public string spname { get; set; } public int year { get; set; } public string zslx_name { get; set; } /// /// 招生计划 /// public string num { get; set; } public string province_name { get; set; } /// /// 选科 /// public string sp_xuanke { get; set; } public string spcode { get; set; } /// /// 学费 /// public string tuition { get; set; } }