调整接口
This commit is contained in:
42
src/WMS.Web.Core/Dto/BackRecord/BackRecordOnOffRequest.cs
Normal file
42
src/WMS.Web.Core/Dto/BackRecord/BackRecordOnOffRequest.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.BackRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库回退上下架:请求对象
|
||||
/// </summary>
|
||||
public class BackRecordOnOffRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库方式:1按箱,2按产品
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "出入库方式不能为空")]
|
||||
public int Method { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织编码
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "组织编码不能为空")]
|
||||
public string OrgCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库code
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "仓库不能为空")]
|
||||
public string StockCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "仓位不能为空")]
|
||||
public int SubStockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public List<SaveBackRecordDetailsRequest> Details { get; set; } = new List<SaveBackRecordDetailsRequest>();
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,11 @@ namespace WMS.Web.Core.Dto.Inventory
|
||||
/// </summary>
|
||||
public int InventoryInOutType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 出入库存-方式(详情见枚举值):必填;1-box按箱,2-product按产品
|
||||
/// </summary>
|
||||
public int InventoryInOutMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱ID
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user