ComplianceServer/oldcode/Core.Common/Layui/LayuiData.cs

24 lines
573 B
C#

using System.Collections.Generic;
namespace CRM.Core.Common.Layui
{
public class LayuiData<T>
{
public int code { get; set; }
public string msg { get; set; }
public int count { get; set; }
public List<T> data { get; set; }
/// <summary>
/// 合计行
/// </summary>
public object totalRow { get; set; }
public void SetFail(int code, string msg)
{
this.code = code;
this.msg = msg;
this.count = 0;
this.data = null;
}
}
}