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
|
|
|
|
|
// ***********************************************************************
|
2025-06-11 21:50:41 +08:00
|
|
|
|
// <copyright file="PagedDynamicDataResp.cs" company="Microsoft">
|
2021-04-15 00:40:30 +08:00
|
|
|
|
// 版权所有(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>
|
2025-06-11 21:14:41 +08:00
|
|
|
|
/// 返回动态数据类型的分页数据
|
|
|
|
|
/// <para>带有列定义</para>
|
2021-04-15 00:40:30 +08:00
|
|
|
|
/// </summary>
|
2025-06-11 21:14:41 +08:00
|
|
|
|
public class PagedDynamicDataResp : Infrastructure.Response
|
2021-04-15 00:40:30 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总记录条数
|
|
|
|
|
/// </summary>
|
2025-06-11 21:14:41 +08:00
|
|
|
|
public int Count { get; set; }
|
2021-04-15 00:40:30 +08:00
|
|
|
|
|
2021-10-27 22:47:42 +08:00
|
|
|
|
|
2021-08-25 01:42:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回的表格列定义
|
|
|
|
|
/// 该属性基于代码生成使用的列定义
|
|
|
|
|
/// </summary>
|
2025-06-11 21:14:41 +08:00
|
|
|
|
public List<BuilderTableColumn> ColumnFields{ get; set; }
|
2021-04-15 00:40:30 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据内容
|
|
|
|
|
/// </summary>
|
2025-06-11 21:14:41 +08:00
|
|
|
|
public dynamic Data { get; set; }
|
2021-04-15 00:40:30 +08:00
|
|
|
|
|
2025-06-11 21:14:41 +08:00
|
|
|
|
public PagedDynamicDataResp()
|
2021-04-15 00:40:30 +08:00
|
|
|
|
{
|
2025-06-11 21:14:41 +08:00
|
|
|
|
Code = 200;
|
|
|
|
|
Message = "加载成功";
|
|
|
|
|
ColumnFields = new List<BuilderTableColumn>();
|
2021-04-15 00:40:30 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-11-29 21:32:55 +08:00
|
|
|
|
}
|