// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.NET.Core.Service;
public class UniversityRankRequest : PageBaseRequest
{
public int? Type { get; set; }
public int? Year { get; set; }
public string Name { get; set; }
}
public class ScoreLineRequest
{
///
///年份
///
public string Years { get; set; }
///
/// 省份
///
public string Pronvice { get; set; }
///
/// 分数
///
public int Score { get; set; }
}
public class UniversityRequest : PageBaseRequest
{
public string name { get; set; }
public List provinceName { get; set; }
///
///
///
public List utype { get; set; }
public List nature { get; set; }
public List ascription { get; set; }
///
/// 985、211
///
public List feature { get; set; }
///
/// 本科0专科1
///
public int? level { get; set; }
}
public class CompiarUnkRequestDto
{
public List ids { get; set; }
///
/// 所在省份
///
public string locationCode { get; set; }
public string years { get; set; } = "2024";
}
public class UniversityMongoResult
{
public string collegeCode { get; set; }
///
/// 官网
///
public string Web { get; set; }
///
/// 主键id
///
public int Id { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 院士数
///
public int? AcademicianCount { get; set; }
///
/// 博士数
///
public int DoctorateCount { get; set; }
///
/// 硕士数
///
public int MasterCount { get; set; }
public int Rank { get; set; }
///
/// 学校logo
///
public string Logo { get; set; }
///
/// 学校简介
///
public string Description { get; set; }
///
/// 省市区名称
///
public string AreaName { get; set; }
public string CityName { get; set; }
///
/// 办学性质
///
public string Nature { get; set; }
///
/// 隶属于
///
public string AscriptionName { get; set; }
public string Belong { get; set; }
///
/// 学科层次
///
public int? SubjectLevel { get; set; }
///
/// 学校类型
///
public List UniversityType { get; set; }
///
/// 创办时间
///
public string BuildDate { get; set; }
public string features { get; set; }
///
/// 地址
///
public string Address { get; set; }
///
/// 电话
///
public string Phone { get; set; }
///
/// 院校图片json
///
public string Imglist { get; set; }
public string VrUrl { get; set; }
}
public class OldPageModel
{
///
/// 当前页标
///
public int page { get; set; } = 1;
///
/// 总页数
///
public int pageCount { get; set; } = 6;
///
/// 数据总数
///
public int dataCount { get; set; } = 0;
///
/// 每页大小
///
public int PageSize { set; get; }
///
/// 返回数据
///
public List data { get; set; }
}
public class UniversityRank
{
public ObjectId _id { get; set; }//id
public string logo { get; set; }
public string cityName { get; set; }
public string uType { get; set; }
///
/// 院校名称
///
public string UniversityName { get; set; }
///
/// 类型(0,校友会 1,武书连 2,软科 3,QS 4,U.S.News)
///
public string UniversityType { get; set; }
///
/// 年份
///
public string Year { get; set; }
///
/// 排名
///
public int Rank { get; set; }
///
/// 分数(没有就是--)
///
public string Score { get; set; }
}