using System;
using System.Collections.Generic;
using System.Text;
namespace WGShare.Domain.GeneralModel
{
///
/// 统一分页返回结果模型
///
///
public class PagedResult
{
public PagedResult() { }
public PagedResult(IEnumerable list, int total)
{
Total = total;
Items = list;
}
public int Total { get; set; }
public IEnumerable Items { get; private set; }
public static PagedResult Create(IEnumerable list, int total)
{
return new PagedResult(list, total);
}
}
}