using Hotline.Share.Requests;
namespace Hotline.Share.Dtos.WebPortal
{
///
///
///
public class ArticleIdDto
{
///
/// 公告ID
///
public string Id { get; set; }
}
public class ArticleIdByNumDto
{
///
/// 公告分类
///
public string? BulletinTypeId { get; set; }
///
/// 条数
///
public int Num { get; set; } = 1;
///
/// 是否查询图片
///
public string CheckChar { get; set; }
///
/// 显示位置
///
public string? BulletinDisplayLocation { get; set; }
}
///
/// 公告上一条下一条
///
public class ArticlePreviousAndNextDto
{
///
/// 公告ID
///
public string ID { get; set; }
///
/// 公告分类
///
public string? NoticeTypeId { get; set; }
///
/// 关键字
///
public string? Condition { get; set; }
///
/// 是否全文查找
///
public string? FullSearch { get; set; }
}
///
/// 公告上一条下一条 返回数据
///
public class ArticlePreviousAndNextDataDto
{
///
/// 上一条P,下一条N
///
public string pntype { get; set; }
///
/// 公告ID
///
public string NoticeID { get; set; }
///
/// 公告标题
///
public string NoticeTitle { get; set; }
}
///
/// 公告详情
///
public class ArticleDetailsDto
{
///
/// 公告ID
///
public string NoticeID { get; set; }
///
/// 分类名称
///
public string NoticeTypeName { get; set; }
///
/// 标题
///
public string NoticeTitle { get; set; }
///
/// 发布部门
///
public string NoticeBMName { get; set; }
///
/// 创建时间
///
public DateTime? NoticeCreateDate { get; set; }
///
/// 阅读次数
///
public int NoticeRCount { get; set; }
///
/// 视频地址
///
public string WNED_VideoUrl { get; set; }
///
/// 内容
///
public string NoticeContent { get; set; }
}
///
/// 公告列表返回数据
///
public class ArticleListDataDto
{
///
/// 总条数
///
public int Total { get; set; }
///
/// 总页数
///
public int PageCount { get; set; } = 0;
///
/// 数据
///
public IReadOnlyList data { get; set; }
}
///
/// 公告列表
///
public class ArticleListDto
{
///
/// 页码
///
public int Page { get; set; }
///
/// 内容
///
public string NoticeContent { get; set; }
///
/// ID
///
public string NoticeID { get; set; }
///
/// 分类名称
///
public string NoticeTypeName { get; set; }
///
/// 标题
///
public string NoticeTitle { get; set; }
///
/// 部门
///
public string NoticeBMName { get; set; }
///
/// 创建时间
///
public DateTime? NoticeCreateDate { get; set; }
///
/// 视频地址
///
public string VideoUrl { get; set; }
///
///
///
public string WNLT_FullCode { get; set; }
}
///
/// 公告列表查询参数
///
public record QueryArticleListDto : PagedRequest
{
///
/// 公告分类
///
public string? NoticeType { get; set; }
///
/// 标题
///
public string? Condition { get; set; }
}
///
/// 全文搜索
///
public class FullTextSearchListDto
{
///
/// 索引
///
public int Page { get; set; }
///
/// ID
///
public string NoticeID { get; set; }
///
/// 分类名称ID
///
public string NoticeTypeID { get; set; }
///
/// 分类名称
///
public string NoticeTypeName { get; set; }
///
/// 标题
///
public string NoticeTitle { get; set; }
///
/// 创建部门
///
public string NoticeBMName { get; set; }
///
/// 创建时间
///
public string NoticeCreateDate { get; set; }
///
/// 内容
///
public string Content { get; set; }
///
///
///
public string TypeCode { get; set; }
}
///
/// 全文搜索返回参数
///
public class FullTextSearchListDataDto
{
///
/// 总页数
///
public int PageCount { get; set; } = 0;
///
/// 数据
///
public IReadOnlyList data { get; set; }
}
}