using System; using System.Collections.Generic; using System.Linq; using System.Text; using POSV.Entity; using POSV.Utils; namespace POSV.HttpApi { [Serializable] public class DownloadNotify { /// /// 是否下载成功 /// public bool Success { get; set; } /// /// 同步操作 /// public DownloadCacheName Operate { get; set; } /// /// 缓存名称 /// public string CacheName { get { return this.Operate.ToString(); } } /// /// 同步信息 /// public string Message { get; set; } /// /// 是否分页 /// public bool IsPager { get; set; } /// /// 总页数 /// public int PageCount { get; set; } /// /// 当前页码 /// public int PageNumber { get; set; } /// /// 每页数量 /// public int PageSize { get; set; } public override string ToString() { return JsonUtils.Serialize(this); } } }