50 lines
793 B
C#
50 lines
793 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Model
|
|||
|
{
|
|||
|
public class ResponeData
|
|||
|
{
|
|||
|
public bool success
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = true;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 代码 200-正常;1010-异常;
|
|||
|
/// </summary>
|
|||
|
public int code
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = 200;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 消息
|
|||
|
/// </summary>
|
|||
|
public string message
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
|
|||
|
public string timestamp
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 数据
|
|||
|
/// </summary>
|
|||
|
public object data
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|