using Newtonsoft.Json;
using System;
public class CustodyInbound
{
///
/// 物资数量(单位:台)
///
[JsonProperty("materialQuantity")]
public int MaterialQuantity { get; set; } = 1;
///
/// 物资名称(示例:10KV变压器)
///
[JsonProperty("materialName")]
public string MaterialName { get; set; } = "10KV变压器";
///
/// 物料编码(示例:500007396)
///
[JsonProperty("materialCode")]
public string MaterialCode { get; set; } = "500007396";
///
/// 物资描述(示例:10kV变压器,400KVA,普通,硅钢片,油浸)
///
[JsonProperty("materialDescription")]
public string MaterialDescription { get; set; } = "10kV变压器,400KVA,普通,硅钢片,油浸";
///
/// 暂存区域(示例:入库待检区)
///
[JsonProperty("temporaryStorageArea")]
public string TemporaryStorageArea { get; set; } = "入库待检区";
///
/// 入库单据(示例:《退出退役资产保管委托申请单》《技术鉴定报告》)
///
[JsonProperty("entryDocuments")]
public string EntryDocuments { get; set; } = "《退出退役资产保管委托申请单》《技术鉴定报告》";
///
/// 存放区域(示例:货架区)
///
[JsonProperty("storageArea")]
public string StorageArea { get; set; } = "货架区";
///
/// 仓位编号(格式:G01-010101)
///
[JsonProperty("binNumber")]
public string BinNumber { get; set; } = "G01-010101";
///
/// 工厂代码(示例:11D0)
///
[JsonProperty("plantCode")]
public string PlantCode { get; set; } = "11D0";
///
/// 物资批次号(示例:2025D02001)
///
[JsonProperty("batchNumber")]
public string BatchNumber { get; set; } = "2025D02001";
///
/// 库存地点(示例:国网常州供电公司青龙仓库(HDA1))
///
[JsonProperty("inventoryLocation")]
public string InventoryLocation { get; set; } = "国网常州供电公司青龙仓库(HDA1)";
///
/// 仓库编号(示例:DA1)
///
[JsonProperty("warehouseNumber")]
public string WarehouseNumber { get; set; } = "DA1";
///
/// 仓储单号(示例:DA1-2025-001)
///
[JsonProperty("storageDocument")]
public string StorageDocument { get; set; } = "DA1-2025-001";
///
/// 移动类型(示例:X04)
///
[JsonProperty("movementType")]
public string MovementType { get; set; } = "X04";
///
/// 库存变动明细
///
[JsonProperty("inventoryChange")]
public InventoryChange Change { get; set; } = new InventoryChange();
///
/// 凭证日期(ISO 8601格式)
///
[JsonProperty("documentDate")]
public DateTime DocumentDate { get; set; } = DateTime.Now;
///
/// 库管员(示例:张三)
///
[JsonProperty("warehouseKeeper")]
public string WarehouseKeeper { get; set; } = "张三";
///
/// 仓库主管(示例:李四)
///
[JsonProperty("warehouseSupervisor")]
public string WarehouseSupervisor { get; set; } = "李四";
}
public class InventoryChange
{
///
/// 期初库存数量
///
[JsonProperty("initialQuantity")]
public int InitialQuantity { get; set; } = 0;
///
/// 收入数量
///
[JsonProperty("incomeQuantity")]
public int IncomeQuantity { get; set; } = 1;
///
/// 发出数量
///
[JsonProperty("issueQuantity")]
public int IssueQuantity { get; set; } = 0;
}