You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
911 B
43 lines
911 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace QMAPP.KB.Entity
|
||
|
{
|
||
|
public class DataResult
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 消息代码
|
||
|
/// </summary>
|
||
|
public string MsgCode { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 消息
|
||
|
/// </summary>
|
||
|
public string Msg { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 异常消息
|
||
|
/// </summary>
|
||
|
public Exception Ex { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否成功
|
||
|
/// </summary>
|
||
|
public bool IsSuccess { get; set; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 返回参数数据模型
|
||
|
/// 创建者:单雨春
|
||
|
/// 创建日期:2013年4月20日
|
||
|
/// </summary>
|
||
|
public class DataResult<T> : DataResult
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 返回结果
|
||
|
/// </summary>
|
||
|
public T Result { get; set; }
|
||
|
}
|
||
|
}
|