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.
BookingHeChuan/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageExcuteResultDto.cs

247 lines
5.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
///
/// </summary>
public class TaskManageExcuteResultDto
{
/// <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 int total { get; set; }
/// <summary>
/// 当前页列表数据
/// </summary>
public object rows { get; set; }
/// <summary>
/// 比对详情
/// </summary>
public CompareResultInfo extra { get; set; }
/// <summary>
/// 比对展示详情
/// </summary>
public List<CompareResultDetailInfo> extra2 { get; set; }
/// <summary>
/// 扩展值
/// </summary>
public object extra3 { get; set; }
/// <summary>
/// 场站统计详情
/// </summary>
public YardStatInfo yardStatInfo { get; set; }
}
public class CompareResultInfo
{
/// <summary>
/// 原数据主键(请求方业务主键)
/// </summary>
public string OrigPKId { get; set; }
/// <summary>
/// 比对ID
/// </summary>
public string TaskCompareId { get; set; }
/// <summary>
/// 原数据主单号
/// </summary>
public string MBlNo { get; set; }
/// <summary>
/// 是否存在差异 true-存在差异 false-一致
/// </summary>
public bool IsExistsDiff { get; set; } = false;
/// <summary>
/// 比较时间
/// </summary>
public DateTime CompareTime { get; set; }
/// <summary>
/// 明细
/// </summary>
public List<CompareResultDetailInfo> DetailList { get; set; }
/// <summary>
/// 展示明细
/// </summary>
public List<CompareResultDetailInfo> ShowDetailList { get; set; }
}
/// <summary>
///
/// </summary>
public class CompareResultDetailInfo
{
/// <summary>
/// 字段代码
/// </summary>
public string FieldCode { get; set; }
/// <summary>
/// 字段名称
/// </summary>
public string FieldName { get; set; }
/// <summary>
/// 请求值
/// </summary>
public string ReqVal { get; set; }
/// <summary>
/// 目标值
/// </summary>
public string TargetVal { get; set; }
/// <summary>
/// 是否比对一致 false-一致 true-比对不一致
/// </summary>
public bool IsDiff { get; set; }
/// <summary>
/// 排序值
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 合并KEY
/// </summary>
public string MergeGroupKey { get; set; }
/// <summary>
/// 合并排序值
/// </summary>
public int MergeSort { get; set; }
/// <summary>
/// 是否显示
/// </summary>
public bool IsDisplay { get; set; }
/// <summary>
/// 主键KEY(只有明细比较才有值)
/// </summary>
public string PrimaryKey { get; set; }
/// <summary>
/// 合并HTML(这里可以直接适用此数据网页展示)
/// </summary>
public string MergeHtml { get; set; }
/// <summary>
/// 合并分割符
/// </summary>
public string MergeBeforeSplit { get; set; }
/// <summary>
/// 提示内容
/// </summary>
public string Msg { get; set; }
/// <summary>
/// 父节点代码
/// </summary>
public string PCode { get; set; }
/// <summary>
/// 是否主键
/// </summary>
public bool IsPrimaryKey { get; set; }
}
/// <summary>
///
/// </summary>
public class TaskManageExcuteCommonResultDto
{
/// <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 int total { get; set; }
/// <summary>
/// 当前页列表数据
/// </summary>
public object rows { get; set; }
/// <summary>
/// 扩展值
/// </summary>
public object extra { get; set; }
/// <summary>
/// 扩展值2
/// </summary>
public object extra2 { get; set; }
/// <summary>
/// 扩展值3
/// </summary>
public object extra3 { get; set; }
}
/// <summary>
/// 下货纸场站箱信息统计
/// </summary>
public class YardStatInfo
{
/// <summary>
/// 总箱数
/// </summary>
public int ContaNum { get; set; }
/// <summary>
/// 最新返场日期
/// </summary>
public Nullable<DateTime> LstReturnYardDate { get; set; }
/// <summary>
/// 有返场日期箱数
/// </summary>
public int ExistsReturnYardDateCtnNum { get; set; }
}
}