132 lines
3.5 KiB
C#
132 lines
3.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace New_College.Model.ViewModels
|
|
{
|
|
public class RequestEnrollmentinproductionResult
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
/// 招生标题
|
|
/// </summary>
|
|
public string Title { get; set; }
|
|
}
|
|
|
|
|
|
|
|
public class GenBycollegeobject
|
|
{
|
|
public GenBycollegeResult result { get; set; }
|
|
public string code { get; set; }
|
|
public string message { get; set; }
|
|
public string fullMessage { get; set; }
|
|
public DateTime timestamp { get; set; }
|
|
public bool isSuccess { get; set; }
|
|
}
|
|
|
|
public class GenBycollegeResult
|
|
{
|
|
public int totalCount { get; set; }
|
|
public GenBycollegeItem[] items { get; set; }
|
|
}
|
|
|
|
public class GenBycollegeItem
|
|
{
|
|
public string title { get; set; }
|
|
public int rank { get; set; }
|
|
public int year { get; set; }
|
|
public int hits { get; set; }
|
|
public int type { get; set; }
|
|
public bool isArt { get; set; }
|
|
public string editor { get; set; }
|
|
public DateTime updatedAt { get; set; }
|
|
public DateTime createdAt { get; set; }
|
|
public string id { get; set; }
|
|
}
|
|
|
|
|
|
public class RequestBaseResponse
|
|
{
|
|
public string Code { get; set; } = "0";
|
|
|
|
public string Msg { get; set; }
|
|
public bool Success { get; set; } = true;
|
|
|
|
public List<RequestEnrollmentinproductionResult> Data { get; set; }
|
|
}
|
|
|
|
|
|
public class Rootobject
|
|
{
|
|
public collegeDetailResult result { get; set; }
|
|
public string code { get; set; }
|
|
public string message { get; set; }
|
|
public string fullMessage { get; set; }
|
|
public DateTime timestamp { get; set; }
|
|
public bool isSuccess { get; set; }
|
|
}
|
|
|
|
public class collegeDetailResult
|
|
{
|
|
public string collegeCode { get; set; }
|
|
public string collegeName { get; set; }
|
|
public string title { get; set; }
|
|
public string content { get; set; }
|
|
public string summary { get; set; }
|
|
public string metaKeywords { get; set; }
|
|
public string metaDescription { get; set; }
|
|
public int year { get; set; }
|
|
public string[] tags { get; set; }
|
|
public int rank { get; set; }
|
|
public int hits { get; set; }
|
|
public int type { get; set; }
|
|
public bool isArt { get; set; }
|
|
public bool isShow { get; set; }
|
|
public string editor { get; set; }
|
|
public DateTime updatedAt { get; set; }
|
|
public DateTime createdAt { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RequestQuery : BasePageRequest
|
|
{
|
|
public string Id { get; set; }
|
|
}
|
|
|
|
public class RequestEnrollmentinproductionDetailResult
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
/// 招生标题
|
|
/// </summary>
|
|
public string Title { get; set; }
|
|
/// <summary>
|
|
/// 发布时间
|
|
/// </summary>
|
|
public string Pushdate { get; set; }
|
|
/// <summary>
|
|
/// 文章内容
|
|
/// </summary>
|
|
public string Content { get; set; }
|
|
}
|
|
|
|
public class RequestDetailBaseResponse
|
|
{
|
|
public string Code { get; set; } = "0";
|
|
|
|
public string Msg { get; set; }
|
|
public bool Success { get; set; } = true;
|
|
|
|
public RequestEnrollmentinproductionDetailResult Data { get; set; }
|
|
}
|
|
}
|