You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace HuizhongLibrary.Data
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// JSON对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="T"></typeparam>
|
|
|
|
|
public class JsonModel<T>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据集
|
|
|
|
|
/// </summary>
|
|
|
|
|
public T DataSource { get; set; }
|
|
|
|
|
public T DataSource2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int RowCount { get; set; }
|
|
|
|
|
public int RowCount2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 错误信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ErrorMsg { get; set; }
|
|
|
|
|
|
|
|
|
|
public int allnum { get; set; }
|
|
|
|
|
public JsonModel()
|
|
|
|
|
{
|
|
|
|
|
RowCount = 0;
|
|
|
|
|
ErrorMsg = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|