using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyServiceStatus
{
public class DjyResult
{
///
/// 是否成功 true=成功 false=失败
///
public bool success { get; set; } = false;
///
/// 状态 0-成功
///
public int code { get; set; } = 200;
///
/// 返回消息
///
public string message { get; set; }
///
/// 返回数据
///
public object data { get; set; }
///
/// timestamp
///
public long timestamp { get; set; }
///
///
///
///
///
public static DjyResult Failed(string message)
{
return new DjyResult()
{
success = false,
message = message
};
}
}
}