比对接口

This commit is contained in:
tongfei
2023-11-07 11:10:14 +08:00
parent 85625b5a80
commit 131ab07de2
9 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WMS.Web.Core.Dto.InStockTask
{
/// <summary>
/// 采购订单物料明细和箱物料明细-对比请求对象
/// </summary>
public class ContrastMaterialsRequest
{
/// <summary>
/// 单据ID(等同-入库任务单ID)
/// </summary>
[Required(ErrorMessage = "单据不能为空")]
public int TaskId { get; set; }
/// <summary>
/// 箱号
/// </summary>
[Required(ErrorMessage = "箱号不能为空")]
public string BoxBillNo { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.InStockTask
{
/// <summary>
/// 采购订单物料明细和箱物料明细-对比影响对象
/// </summary>
public class ContrastMaterialsResponse
{
/// <summary>
/// 箱号ID
/// </summary>
public int BoxId { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string BoxBillNo { get; set; }
/// <summary>
/// 比对结果true为比对成功false为比对失败
/// </summary>
public bool IsRight { get; set; }
}
}