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.

140 lines
3.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Dtos
{
/// <summary>
/// API接收对象
/// </summary>
public class BookingSlotBaseApiDto
{
/// <summary>
/// 操作类型add 新增、update 更新、del 删除取消
/// </summary>
public string OpType { get; set; }
/// <summary>
/// 数据对象
/// </summary>
public BookingSlotBaseApiSaveDto DataObj { get; set; }
/// <summary>
/// 批次号
/// </summary>
public string BatchNo { get; set; }
/// <summary>
/// 订舱ID
/// </summary>
public Nullable<long> BookingId { get; set; }
}
/// <summary>
/// API接收保存舱位dto
/// </summary>
public class BookingSlotBaseApiSaveDto : BookingSlotBaseDto
{
/// <summary>
/// 舱位箱信息
/// </summary>
public List<BookingSlotCtnSaveInput> CtnList { get; set; }
}
public class DynameFileInfo
{
/// <summary>
/// 文件名称
/// </summary>
public string FileName { get; set; }
/// <summary>
/// 文件二进制流
/// </summary>
public byte[] FileBytes { 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; }
}
}