using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Epost.Model { #region 列表基类视图模型 /// /// 列表基类视图模型 /// public class ListBase : Model.Base { #region 总记录数 /// /// 总记录数 /// [Display(Name = "总记录数")] public int? TotalCount { get; set; } #endregion #region 页大小 /// /// 页大小 /// [Display(Name = "页大小")] public int? PageSize { get; set; } #endregion #region 页索引 /// /// 页索引 /// [Display(Name = "页索引")] public int? PageIndex { get; set; } #endregion #region 排序字段 /// /// 排序字段 /// [Display(Name = "排序字段")] public string SortField { get; set; } #endregion #region 排序方向 /// /// 排序方向 /// [Display(Name = "排序方向")] public string SortDir { get; set; } #endregion #region 关键字 /// /// 关键字 /// [Display(Name = "关键字")] public string Keywords { get; set; } #endregion #region 开始时间 /// /// 开始时间 /// [Display(Name = "开始时间")] public DateTime? StartTime { get; set; } #endregion #region 结束时间 /// /// 结束时间 /// [Display(Name = "结束时间")] public DateTime? EndTime { get; set; } #endregion #region 状态 /// /// 状态 /// [Display(Name = "状态")] public int? Status { get; set; } /// /// 类别 /// [Display(Name = "类别")] public int? Type { get; set; } #endregion } #endregion }