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