using System;
using System.Collections.Generic;
using GxPress.Common.Page;
using GxPress.Entity;
using GxPress.Entity.WorkFlow;
using GxPress.EnumConst;
using GxPress.Result.App.Analyze;
namespace GxPress.Result.Article
{
///
/// 文章
///
public class ArticleResult : FlowTodoResult
{
///
/// 文章ID
///
public int Id { get; set; }
///
/// 标题
///
public string Title { get; set; }
///
/// 组id
///
public int GroupId { get; set; }
///
/// 标题图片
///
public IEnumerable ImageUrls { get; set; }
///
/// 简介
///
public string Summary { get; set; }
///
/// 作者
///
public string Author { get; set; }
///
/// 来源
///
public string Source { get; set; }
///
/// Json内容
///
public IEnumerable ArticleBlocks { get; set; }
///
/// 审核状态
///
public bool IsChecked { get; set; }
///
/// 添加时间
///
public DateTime AddDate { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 评论数量
///
public int CommentCount { get; set; }
///
/// 收藏数量
///
public int CollectCount { get; set; }
///
/// 转发数量
///
public int RetransmissionCount { get; set; }
///
/// 点赞数量
///
public int PraiseCount { get; set; }
///
/// 文章类型名称
///
public string GroupName { get; set; }
///
/// 文章点赞数据
///
public PagedList ArticlePraisePagedList { get; set; }
///
/// 文章阅读量
///
public int ReadCount { get; set; }
///
/// 是否置顶
///
public bool IsTop { get; set; }
///
/// 是否收藏
///
public bool IsCollect { get; set; }
///
/// 是否点赞
///
public bool IsPraise { get; set; }
///
/// 是否转发
///
public bool IsRetransmission { get; set; }
///
/// 创建时间
///
public DateTime? CreatedDate { get; set; }
///
/// 标签
///
///
public IEnumerable ArticleInnerLabelsResult { get; set; }
///
/// 来源类型 0 文章 1 待办
///
///
public int SourceType { get; set; }
}
///
/// 待办工作事项
///
public class FlowTodoResult : FlowTodo
{
public FlowState State { get; set; }
///
/// 当前页
///
public string Title { get; set; }
public string AvatarUrl { get; set; }
///
/// 每页显示多少项
///
public List Summaries { get; set; }
}
}