OpenAuth.Net/OpenAuth.App/Base/TableResp.cs
yubaolee cf23d0025f 增加撤销与启动,详见:#I3ILBG
调整工程结构,采用模块化机制
2021-04-15 00:40:30 +08:00

42 lines
1015 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections.Generic;
using Infrastructure;
namespace OpenAuth.App.Response
{
/// <summary>
/// 返回确定类型的表格数据可以为swagger提供精准的注释
/// </summary>
public class TableResp<T>
{
/// <summary>
/// 状态码
/// </summary>
public int code { get; set; }
/// <summary>
/// 操作消息
/// </summary>
public string msg { get; set; }
/// <summary>
/// 总记录条数
/// </summary>
public int count { get; set; }
/// <summary>
/// 数据内容
/// </summary>
public List<T> data { get; set; }
/// <summary>
/// 返回的列表头信息
/// </summary>
public List<KeyDescription> columnHeaders { get; set; }
public TableResp()
{
code = 200;
msg = "加载成功";
columnHeaders = new List<KeyDescription>();
}
}
}