35 lines
779 B
C#
35 lines
779 B
C#
using JY.MES.Enum;
|
|||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace JY.MES.Entity
|
||
|
|
{
|
||
|
|
public class MesCallResult<T>
|
||
|
|
{
|
||
|
|
public bool IsSuccess { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 错误类型枚举
|
||
|
|
/// </summary>
|
||
|
|
public MesErrorType ErrorType { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 错误描述
|
||
|
|
/// </summary>
|
||
|
|
public string ErrorMessage { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// mes实际返回的响应
|
||
|
|
/// </summary>
|
||
|
|
public T OriResponse { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// mes实际返回的响应json字符串
|
||
|
|
/// </summary>
|
||
|
|
public string OriRespJsonStr { get; set; }
|
||
|
|
}
|
||
|
|
}
|