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.
35 lines
586 B
35 lines
586 B
3 years ago
|
namespace EC.App.Entity
|
||
|
{
|
||
|
public class RespParam<T>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 返回码
|
||
|
/// </summary>
|
||
|
public int Code { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否成功
|
||
|
/// </summary>
|
||
|
public bool IsSuccess { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 返回数据
|
||
|
/// </summary>
|
||
|
public T Data { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 错误信息
|
||
|
/// </summary>
|
||
|
public object Errors { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 附加数据
|
||
|
/// </summary>
|
||
|
public object Extras { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 时间戳
|
||
|
/// </summary>
|
||
|
public long Timestamp { get; set; }
|
||
|
}
|
||
|
}
|