using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lskj.Model
{
public class BaseResponse
{
///
/// 是否成功
///
public bool success { get; set; }
///
/// 文字信息
///
[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string msg { get; set; }
///
/// 数据总数
///
[Newtonsoft.Json.JsonProperty(DefaultValueHandling = Newtonsoft.Json.DefaultValueHandling.Ignore)]
[System.ComponentModel.DefaultValue(0)]
public int tot { get; set; }
///
/// 返回的主数据
///
[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public object data { get; set; }
///
/// 如有其它数据
///
[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public object other { get; set; }
///
/// json编码后的字符串
///
[Newtonsoft.Json.JsonIgnore]
public string EncodedResult { get; set; }
///
/// json编码后的字符串
///
[Newtonsoft.Json.JsonIgnore]
public bool WriteResponse = true;
}
}