using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace WIDESEA_DTO.Outbound
|
{
|
|
|
public class PalletLockInfoDto
|
{
|
public int Id { get; set; }
|
public string OrderNo { get; set; }
|
public string BatchNo { get; set; }
|
public string MaterielCode { get; set; }
|
public string CurrentBarcode { get; set; }
|
public decimal AssignQuantity { get; set; }
|
public decimal PickedQty { get; set; }
|
public int Status { get; set; }
|
public string LocationCode { get; set; }
|
public string PalletCode { get; set; }
|
public bool CanSplit { get; set; }
|
public bool CanPick { get; set; }
|
}
|
|
#region 请求DTO
|
|
public class ConfirmPickingRequest
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
|
[Required(ErrorMessage = "条码不能为空")]
|
public string Barcode { get; set; }
|
}
|
|
public class CancelPickingRequest
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
|
[Required(ErrorMessage = "条码不能为空")]
|
public string Barcode { get; set; }
|
|
public int PickingHistoryId { get; set; }
|
}
|
|
|
|
public class CancelSplitRequest
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
|
[Required(ErrorMessage = "新条码不能为空")]
|
public string NewBarcode { get; set; }
|
}
|
|
public class ReturnStockRequest
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
}
|
public class CancelSplitDto
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
|
[Required(ErrorMessage = "新条码不能为空")]
|
public string NewBarcode { get; set; }
|
}
|
|
public class ReturnStockDto
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
}
|
|
public class PalletLocksDto
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
}
|
|
#endregion
|
|
#region DTO类
|
|
public class PalletPickedInfoDto
|
{
|
public int Id { get; set; }
|
public string OrderNo { get; set; }
|
public int OrderDetailId { get; set; }
|
public string PalletCode { get; set; }
|
public string Barcode { get; set; }
|
public string MaterielCode { get; set; }
|
public decimal PickedQty { get; set; }
|
public DateTime PickTime { get; set; }
|
public string Operator { get; set; }
|
public string LocationCode { get; set; }
|
}
|
|
public class PalletStatusDto
|
{
|
public string OrderNo { get; set; }
|
public string PalletCode { get; set; }
|
public int Status { get; set; }
|
public string StatusText { get; set; }
|
public int TotalItems { get; set; }
|
public int CompletedItems { get; set; }
|
public int PendingItems { get; set; }
|
}
|
|
public class SplitPackageInfoDto
|
{
|
public string OrderNo { get; set; }
|
public string PalletCode { get; set; }
|
public string Barcode { get; set; }
|
public string MaterielCode { get; set; }
|
public decimal RemainQuantity { get; set; }
|
public decimal AssignQuantity { get; set; }
|
public decimal PickedQty { get; set; }
|
}
|
|
public class EmptyPalletRemovalDto
|
{
|
public string OrderNo { get; set; }
|
public string PalletCode { get; set; }
|
public DateTime RemovalTime { get; set; }
|
public string Operator { get; set; }
|
public int CompletedItemsCount { get; set; }
|
public decimal TotalPickedQuantity { get; set; }
|
}
|
|
public class RemoveEmptyPalletDto
|
{
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
[Required(ErrorMessage = "托盘号不能为空")]
|
public string PalletCode { get; set; }
|
}
|
#endregion
|
|
}
|