using Bootstrap.DataAccess;
using Longbow.Web.Mvc;
using System;
namespace Bootstrap.Admin.Query
{
///
///
///
public class QueryLogOption : PaginationOption
{
///
///
///
public string OperateType { get; set; }
///
///
///
public DateTime? OperateTimeStart { get; set; }
///
///
///
public DateTime? OperateTimeEnd { get; set; }
///
///
///
///
public QueryData RetrieveData()
{
var data = LogHelper.RetrievePages(this, OperateTimeStart, OperateTimeEnd, OperateType);
var ret = new QueryData();
ret.total = data.TotalItems;
ret.rows = data.Items;
return ret;
}
}
}