57 lines
1.6 KiB
C#
57 lines
1.6 KiB
C#
using System.Collections.Generic;
|
||
using Newtonsoft.Json;
|
||
|
||
namespace Dto
|
||
{
|
||
/// <summary>
|
||
/// 库存地点变更(小类:库存物资库存地点批量切换)
|
||
/// </summary>
|
||
public class InventoryRelocatorBatchSwitcher
|
||
{
|
||
/// <summary>
|
||
/// 工厂代码(示例:01M0)
|
||
/// </summary>
|
||
[JsonProperty("plantCode")]
|
||
public string PlantCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 原库存地点(示例:HMA1)
|
||
/// </summary>
|
||
[JsonProperty("originalInventoryLocation")]
|
||
public string OriginalInventoryLocation { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 物料转移明细列表
|
||
/// </summary>
|
||
[JsonProperty("transferItems")]
|
||
public List<TransferItem> Items { get; set; }
|
||
}
|
||
|
||
public class TransferItem
|
||
{
|
||
/// <summary>
|
||
/// 物料编码(示例:500002150)
|
||
/// </summary>
|
||
[JsonProperty("materialCode")]
|
||
public string MaterialCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 物资批次号(格式:年度+字母+流水号)
|
||
/// </summary>
|
||
[JsonProperty("batchNumber")]
|
||
public string BatchNumber { get; set; }
|
||
|
||
/// <summary>
|
||
/// 转移数量(单位:件)
|
||
/// </summary>
|
||
[JsonProperty("quantity")]
|
||
public int Quantity { get; set; }
|
||
|
||
/// <summary>
|
||
/// 目标库存地点(示例:HMC1)
|
||
/// </summary>
|
||
[JsonProperty("targetInventoryLocation")]
|
||
public string TargetInventoryLocation { get; set; }
|
||
}
|
||
} |