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.
48 lines
930 B
48 lines
930 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace QMAPP.Entity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 返回结果
|
||
|
/// 创建者:李炳海
|
||
|
/// 创建日期:2014.8.8
|
||
|
/// </summary>
|
||
|
public class BusinessResult
|
||
|
{
|
||
|
public BusinessResult()
|
||
|
{
|
||
|
Type = BusinessResultType.OK;
|
||
|
}
|
||
|
public BusinessResultType Type { get; set; }
|
||
|
public string Message { get; set; }
|
||
|
public int RecortCount { get; set; }
|
||
|
public Exception ex { get; set; }
|
||
|
}
|
||
|
|
||
|
public enum BusinessResultType
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 处理正常
|
||
|
/// </summary>
|
||
|
OK,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 终止
|
||
|
/// </summary>
|
||
|
NG,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 异常
|
||
|
/// </summary>
|
||
|
Exception,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 其他
|
||
|
/// </summary>
|
||
|
Other,
|
||
|
}
|
||
|
}
|