106 lines
3.2 KiB
C#
106 lines
3.2 KiB
C#
using CRM.Core.DTO.LivePlan;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CRM.Core.DTO.CmsNews
|
|
{
|
|
public class NewsRequestDto
|
|
{
|
|
public DateTime? StartTime { get; set; }
|
|
public DateTime? EndTime { get; set; }
|
|
public int? PageIndex { get; set; }
|
|
public int? PageSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发布状态
|
|
/// </summary>
|
|
public int? Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 审核状态
|
|
/// </summary>
|
|
public int? Checkstatus { get; set; }
|
|
|
|
public string Key { get; set; }
|
|
public string DeptId { get; set; }
|
|
public string Reason { get; set; }
|
|
public string Eid { get; set; }
|
|
}
|
|
|
|
public class NewsResponseDto
|
|
{
|
|
public int Id { get; set; }
|
|
public int status { get; set; }
|
|
|
|
public string statusname { get; set; }
|
|
|
|
public int? checkStatus { get; set; }
|
|
|
|
public string checkStatusName { get; set; }
|
|
|
|
public string title { get; set; }
|
|
public string classtitle { get; set; }
|
|
public int? classid { get; set; }
|
|
public int? newstype { get; set; }
|
|
|
|
public string newstypeName { get; set; }
|
|
|
|
public string others { get; set; }
|
|
public string shortessay { get; set; }
|
|
public DateTime? ctime { get; set; }
|
|
public int? DeptId { get; set; }
|
|
public string DeptName { get; set; }
|
|
public string usememo { get; set; }
|
|
}
|
|
|
|
public class NewsDetailModel
|
|
{
|
|
public int? id { get; set; }
|
|
public string classtitle { get; set; }
|
|
public int? status { get; set; }
|
|
public string statusName { get; set; }
|
|
public int? authorid { get; set; }
|
|
|
|
public string authors { get; set; }
|
|
public List<NewsLecturerModel> LecturerModel { get; set; }
|
|
public int? newstype { get; set; }
|
|
public string newstypeName { get; set; }
|
|
public int? newssubtype { get; set; }
|
|
public string newssubtypename { get; set; }
|
|
public string stocks { get; set; }
|
|
public string title { get; set; }
|
|
public string subtitle { get; set; }
|
|
public string intro { get; set; }
|
|
public string thumb { get; set; }
|
|
public string content { get; set; }
|
|
public string url { get; set; }
|
|
public string shortessay { get; set; }
|
|
public string files { get; set; }
|
|
public string urltxt { get; set; }
|
|
public DateTime? ctime { get; set; }
|
|
|
|
public string others { get; set; }
|
|
public int? checkstatus { get; set; }
|
|
public string DeptName { get; set; }
|
|
public string usemeno { get; set; }
|
|
public string risktips { get; set; }
|
|
public List<LiveSystemPlanLogDto> Logs { get; set; }
|
|
}
|
|
|
|
public class NewsLecturerModel
|
|
{
|
|
public string name { get; set; }
|
|
public string code { get; set; }
|
|
}
|
|
|
|
public class NewsLinkModel
|
|
{
|
|
public int? DeptId { get; set; }
|
|
public string DeptName { get; set; }
|
|
public int? Ch { get; set; }
|
|
public string Link { get; set; }
|
|
}
|
|
} |