12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using System.Collections.Generic;
- namespace GxPress.Common.Page
- {
- /// <summary>
- /// 分页数据实体类
- /// </summary>
- /// <typeparam name="TItem">数据对象的实体类型</typeparam>
- public class PagedList<TItem>
- {
- /// <summary>
- /// 当前页的数据
- /// </summary>
- public IEnumerable<TItem> Items { get; set; }
- /// <summary>
- /// 总数
- /// </summary>
- public int Total { get; set; }
- /// <summary>
- /// 是否收藏
- /// </summary>
- public bool IsCollect { get; set; }
- /// <summary>
- /// 转发数量
- /// </summary>
- public int RetransmissionCount { get; set; }
- /// <summary>
- /// 权限
- /// </summary>
- /// <value></value>
- public int RoleId { get; set; }
- /// <summary>
- /// 作者
- /// </summary>
- /// <value></value>
- public string Author { get; set; }
- /// <summary>
- /// 是否存在草稿
- /// </summary>
- /// <value></value>
- public bool IsDraft { get; set; }
- /// <summary>
- /// 草稿ID
- /// </summary>
- /// <value></value>
- public int DraftId { get; set; }
- /// <summary>
- /// 草稿数量
- /// </summary>
- /// <value></value>
- public int DraftCount { get; set; }
- /// <summary>
- /// 父级ID
- /// </summary>
- /// <value></value>
- public int ParentId { get; set; }
- /// <summary>
- /// 是否成员
- /// </summary>
- /// <value></value>
- public bool IsUser { get; set; }
- /// <summary>
- /// 是否系统默认
- /// </summary>
- /// <value></value>
- public bool IsSystemDefault { get; set; }
- }
- }
|