using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebService.Model { public class JsonModel<T> where T : class { //接口调用是否成功,0不成功,1成功 public string Result { get; set; } //接口调用返回值类型 public string ResultType { get; set; } //返回结果行数 public string ResultRowsCount { get; set; } //接口调用不成原因 public string ErrReason { get; set; } public List<T> DataList = new List<T>(); } }