using CK.SCP.Models.ScpEntity;
using CK.SCP.Models.ScpEntity.ExcelExportEnttity;
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();
MessageList = new List();
Kblist = new List();
}
public string Message { set; get; }
public List MessageList { set; get; }
public List Kblist { set; get; }
///
/// 返回结果
///
public T Result { set; get; }
///
/// 错误列表
///
public List ErrorList { set; get; }
///
/// 返回状态
///
public ReturnStatus State
{ set; get; }
}
public enum ReturnStatus
{
[Description("失败")]
Failed,
[Description("成功")]
Succeed
}
}