ComplianceServer/code/Hg.Core.Domain/Dto/News/NewsDetailModel.cs

138 lines
3.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Hg.Core.Domain.Dto.Live;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hg.Core.Domain.Dto.News
{
public class NewsDetailModel
{
public int? id { get; set; }
public string? classtitle { get; set; }
public int? status { get; set; }
/// <summary>
/// 状态
/// </summary>
public string? statusName
{
get
{
return status == 0 ? "未启用" : status == 1 ? "启用" : "";
}
}
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
{
return ((NewsType)newstype).GetDescription();
}
}
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 int? deptId { get; set; }
public string? DeptName { get; set; }
public string? usememo { 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 JustStockMode
{
public int Id { get; set; }
public string? Stocks { get; set; }
}
public class StockModelInfo
{
public string? c { get; set; }
public string? n { get; set; }
}
public class StockPoolResult<T>
{
public int Total { get; set; }
public List<T> Rows { get; set; }
public int Code { get; set; }
public string Msg { get; set; }
}
public class StockPoolDto
{
/// <summary>
/// 审核状态10专业审核中20合规审核中99审核通过-1审核驳回
/// </summary>
public int? CheckStatus { get; set; }
/// <summary>
/// 分页,页数
/// </summary>
public int PageNum { get; set; }
/// <summary>
/// 分页,每页条数
/// </summary>
public int PageSize { get; set; }
public string? StockCode { get; set; }
/// <summary>
/// 在池状态0-在池1-出池
/// </summary>
public int? Status { get; set; }
}
public class StockPoolResultRow
{
/// <summary>
/// Id
/// </summary>
public int Id { 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; }
}
public class OperatorModel
{
public int? Eid { get; set; }
public string? Ename { get; set; }
}
}