using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.SCP.Controller
{
///
///返回结果类
///
///
public class ResultObject
{
public ResultObject()
{
ErrorList = new List();
}
///
/// 返回结果
///
public T Result { set; get; }
///
/// 错误列表
///
public List ErrorList { set; get; }
///
/// 返回状态
///
public ReturnStatus State
{private set; get; }
}
public enum ReturnStatus
{
[Description("失败")]
Failed,
[Description("成功")]
Succeed
}
}