using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyServiceStatus
{
///
/// 回执
///
public class TaskManageOrderResultDto
{
///
/// 是否成功 true=成功 false=失败
///
public bool succ { get; set; } = false;
///
/// 状态 0-成功
///
public int status { get; set; } = 0;
///
/// 返回消息
///
public string msg { get; set; }
///
/// 返回校验明细
///
public object rows { get; set; }
///
/// 返回单个对象
///
public object ext { get; set; }
///
/// 返回单个对象
///
public object ext2 { get; set; }
///
/// 是否超时 true-超时 false-未超时
///
public bool isTimeout { get; set; } = false;
///
/// 执行日期
///
public DateTime executeTime { get; set; } = DateTime.Now;
///
/// 批量执行统计详情
///
public string batchTotal { get; set; }
///
/// 业务单号
///
public string bno { get; set; }
///
///
///
///
///
public static TaskManageOrderResultDto Failed(string message)
{
return new TaskManageOrderResultDto()
{
succ = false,
msg = message
};
}
}
}