2021-04-15 00:40:30 +08:00
|
|
|
|
// ***********************************************************************
|
|
|
|
|
// Assembly : FundationAdmin
|
|
|
|
|
// Author : yubaolee
|
|
|
|
|
// Created : 03-09-2016
|
|
|
|
|
//
|
|
|
|
|
// Last Modified By : yubaolee
|
|
|
|
|
// Last Modified On : 03-09-2016
|
|
|
|
|
// ***********************************************************************
|
|
|
|
|
// <copyright file="TableData.cs" company="Microsoft">
|
|
|
|
|
// 版权所有(C) Microsoft 2015
|
|
|
|
|
// </copyright>
|
|
|
|
|
// <summary>layui datatable数据返回</summary>
|
|
|
|
|
// ***********************************************************************
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2021-08-25 01:42:37 +08:00
|
|
|
|
using OpenAuth.Repository.Domain;
|
2021-04-15 00:40:30 +08:00
|
|
|
|
|
|
|
|
|
namespace OpenAuth.App.Response
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// table的返回数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TableData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总记录条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int count { get; set; }
|
|
|
|
|
|
2021-10-27 22:47:42 +08:00
|
|
|
|
|
2021-08-25 01:42:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回的表格列定义
|
|
|
|
|
/// 该属性基于代码生成使用的列定义
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BuilderTableColumn> columnFields;
|
2021-04-15 00:40:30 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
public dynamic data { get; set; }
|
|
|
|
|
|
|
|
|
|
public TableData()
|
|
|
|
|
{
|
|
|
|
|
code = 200;
|
|
|
|
|
msg = "加载成功";
|
2021-08-25 01:42:37 +08:00
|
|
|
|
columnFields = new List<BuilderTableColumn>();
|
2021-04-15 00:40:30 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-11-29 21:32:55 +08:00
|
|
|
|
}
|