| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | |
| | | namespace Gs.DevApp.Entity |
| | | { |
| | |
| | | public class ReturnModel<T> |
| | | { |
| | | /// <summary> |
| | | /// Default = -100默认, Unauthorized = -101非法调用, Exception = -102系统代码异常, Success = 1成功 |
| | | /// Default = -100默认, Unauthorized = -101非法调用, Exception = -102系统代码异常, Success |
| | | /// = 1成功 |
| | | /// </summary> |
| | | public int rtnCode { set; get; } |
| | | |
| | | public T rtnData { set; get; } |
| | | public string rtnMsg { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 返回的分页节点 |
| | | /// </summary> |
| | | public class PageListModel |
| | | { |
| | | /// <summary> |
| | | /// 列表 |
| | | /// </summary> |
| | | public System.Data.DataTable list { get; set; } |
| | | /// <summary> |
| | | /// 总页数 |
| | | /// </summary> |
| | | public int pages; |
| | | /// <summary> |
| | | /// 总记录数 |
| | | /// </summary> |
| | | public int total; |
| | | /// <summary> |
| | | /// 每页大小 |
| | | /// </summary> |
| | | public int everyPageSize; |
| | | /// <summary> |
| | | /// 扩展用,单文本,比如金额合计等其它项目 |
| | | /// </summary> |
| | | public string extendText; |
| | | |
| | | /// <summary> |
| | | /// 扩展用,列表 |
| | | /// </summary> |
| | | public List<dynamic> extendList; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 扩展用,单文本,比如金额合计等其它项目 |
| | | /// </summary> |
| | | public string extendText; |
| | | |
| | | /// <summary> |
| | | /// 总页数 |
| | | /// </summary> |
| | | public int pages; |
| | | |
| | | /// <summary> |
| | | /// 总记录数 |
| | | /// </summary> |
| | | public int total; |
| | | |
| | | /// <summary> |
| | | /// 列表 |
| | | /// </summary> |
| | | public DataTable list { get; set; } |
| | | } |
| | | } |