using System; using System.Collections.Generic; namespace GxPress.Result.App.Topic { /// /// App文章列表显示 /// public class TopicListPageResult { /// /// 通知自增ID /// public int Id { get; set; } /// /// 通知标题 /// public string Title { get; set; } /// /// 用户姓名 /// public string UserName { get; set; } /// /// 用户ID /// public int UserId { get; set; } /// /// 头像地址 /// public string AvatarUrl { get; set; } /// /// 创建时间 /// public DateTime? CreatedDate { get; set; } /// /// 内容 /// public string Content { get; set; } /// /// 阅读量 /// public int ReadCount { get; set; } /// /// 评论数量 /// public int CommentCount { get; set; } /// /// 收藏数量 /// public int CollectCount { get; set; } /// /// 转发数量 /// public int RetransmissionCount { get; set; } /// /// 点赞数量 /// public int PraiseCount { get; set; } /// /// json数据 /// public List Data { get; set; } /// /// 数据类型 1 没有 2 图 3 文件 /// public int DataType { get; set; } /// /// 是否收藏 /// public bool IsCollect { get; set; } /// /// 是否转发 /// public bool IsRetransmission { get; set; } /// /// 是否点赞 /// public bool IsPraise { get; set; } /// /// 共享文件夹 /// /// public TopicListPageFolderResult FolderResult { get; set; } /// /// 部门名称 /// /// public string DepartmentName { get; set; } /// /// 部门ID /// /// public int DepartmentId { get; set; } /// /// 文件夹ID /// /// public int FolderId { get; set; } /// /// /// /// public int ParentId { get; set; } /// /// /// public TopicListPageResult() { FolderResult = new TopicListPageFolderResult(); } /// /// 附件个数 /// /// public int FileCount { get; set; } /// /// 文件夹名称 /// /// public string FolderName { get; set; } /// /// 小组ID /// /// public int GroupId { get; set; } /// /// 小组名称 /// /// public string GroupName { get; set; } /// /// 是否话题 /// /// public bool IsTopic { get; set; } } /// /// 话题共享文件夹 /// public class TopicListPageFolderResult { /// /// 共享文件夹ID /// /// public int Id { get; set; } /// /// 共享文件夹名称 /// /// public string FolderName { get; set; } } }