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; }
///
/// 状态
///
public string? statusName
{
get
{
return status == 0 ? "未启用" : status == 1 ? "启用" : "";
}
}
public int? authorid { get; set; }
public string? authors { get; set; }
public List 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 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
{
public int Total { get; set; }
public List Rows { get; set; }
public int Code { get; set; }
public string Msg { get; set; }
}
public class StockPoolDto
{
///
/// 审核状态,10专业审核中,20合规审核中,99审核通过,-1审核驳回
///
public int? CheckStatus { get; set; }
///
/// 分页,页数
///
public int PageNum { get; set; }
///
/// 分页,每页条数
///
public int PageSize { get; set; }
public string? StockCode { get; set; }
///
/// 在池状态,0-在池,1-出池
///
public int? Status { get; set; }
}
public class StockPoolResultRow
{
///
/// Id
///
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; }
}
}