Tz2/Assets/Scripts/Dto/InventoryRelocatorBatchSwit...

57 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}