You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.8 KiB
C#

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