using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QMAPP.Entity { /// /// 返回结果 /// 创建者:李炳海 /// 创建日期:2014.8.8 /// 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 { /// /// 处理正常 /// OK, /// /// 终止 /// NG, /// /// 异常 /// Exception, /// /// 其他 /// Other, } }