tuiwucarrer/Admin.NET/Admin.NET.Core/Service/ZYNews/DTO/NewsResponse.cs

182 lines
4.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.NET.Core.Service;
public class NewsPageResponse
{
public int page { get; set; }
public int pageCount { get; set; }
public int dataCount { get; set; }
public int PageSize { get; set; }
public List<NewsInfoResponse> data { get; set; }
}
public class NewsInfoResponse
{
public int Id { get; set; }
public string Title { get; set; }
public string CoverImg { get; set; }
public string Source { get; set; }
public string Summary { get; set; }
public DateTime CreateTime { get; set; }
}
public class UniversityDetailRequest
{
public long? CId { get; set; }
public long Id { get; set; }
}
public class MajorSchoolQuery : PageBaseRequest
{
/// <summary>
///
/// </summary>
public int MajorId { get; set; }
/// <summary>
/// 学科层次
/// </summary>
public int SubjectLevel { get; set; }
/// <summary>
/// 省市区名称
/// </summary>
public string AreaName { get; set; }
/// <summary>
/// 办学性质
/// </summary>
public int Nature { get; set; } = -1;
/// <summary>
/// 学校类型
/// </summary>
public int Type { get; set; } = -1;
/// <summary>
/// 是否985 0、否1、是
/// </summary>
public int Nhef { get; set; } = -1;
/// <summary>
/// 是否211 0、否1、是
/// </summary>
public int Sff { get; set; } = -1;
/// <summary>
/// 是否双一流 0、否1、是
/// </summary>
public int Syl { get; set; } = -1;
}
public class OldUniversityRequest
{
public long? CustomerId { get; set; }
public int Id { get; set; }
}
public class OldUniversityDetailResponse
{
public int status { get; set; }
public Universityresult universityResult { get; set; }
public Relatedmajor[] relatedMajors { get; set; }
public Relatespmajor[] relatespMajors { get; set; }
public Graduatemodels graduateModels { get; set; }
}
public class Universityresult
{
public string universityCode { get; set; }
public int percentage { get; set; }
public string web { get; set; }
public int id { get; set; }
public string name { get; set; }
public int rank { get; set; }
public bool nhef { get; set; }
public bool sff { get; set; }
public bool syl { get; set; }
public bool qjjh { get; set; }
public string logo { get; set; }
public string description { get; set; }
public string areaName { get; set; }
public int nature { get; set; }
public string ascriptionName { get; set; }
public int subjectLevel { get; set; }
public int universityType { get; set; }
public string buildDate { get; set; }
public string address { get; set; }
public string phone { get; set; }
public int academicianCount { get; set; }
public int doctorateCount { get; set; }
public int masterCount { get; set; }
public bool isCollection { get; set; }
public bool isContrast { get; set; }
public bool isNearScore { get; set; }
public string imglist { get; set; }
public string naturedetail { get; set; }
public string longSchoolId { get; set; }
public int years { get; set; }
public int scoreLine { get; set; }
public int scorepostion { get; set; }
public string collegeCode { get; set; }
}
public class Graduatemodels
{
public string provinces { get; set; }
public string attrs { get; set; }
}
public class Relatedmajor
{
public int mid { get; set; }
public string majorName { get; set; }
}
public class Relatespmajor
{
public int mid { get; set; }
public string majorName { get; set; }
}
public class NewsDetailInfoResponse
{
public int Id { get; set; }
/// <summary>
///
/// </summary>
public string Author { get; set; }
public string Title { get; set; }
public string CoverImg { get; set; }
/// <summary>
///
/// </summary>
public string Summary { get; set; }
public string Detail { get; set; }
/// <summary>
///
/// </summary>
public int Click { get; set; }
public DateTime CreateTime { get; set; }
}