调整ops箱结构
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
@@ -12,41 +13,83 @@ namespace WMS.Web.Core.Dto
|
||||
/// <summary>
|
||||
/// 对应老OPS的箱ID
|
||||
/// </summary>
|
||||
[JsonProperty("CartonId")]
|
||||
public int OpsBoxId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱编号(老OPS生成的箱号)
|
||||
/// </summary>
|
||||
[JsonProperty("CartonNo")]
|
||||
public string BoxBillNo { get; set; }
|
||||
/// <summary>
|
||||
/// 供应商Id
|
||||
/// </summary>
|
||||
[JsonProperty("GysNo")]
|
||||
public int? SupplierId { get; set; }
|
||||
/// <summary>
|
||||
/// 组织Id
|
||||
/// </summary>
|
||||
[JsonProperty("orgId")]
|
||||
public int? OrgId { get; set; }
|
||||
/// <summary>
|
||||
/// 完成装箱时间
|
||||
/// </summary>
|
||||
[JsonProperty("CompleteCartonTime")]
|
||||
public string CompleteCartonTime { get; set; }
|
||||
/// <summary>
|
||||
/// 箱子的创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("cartonCreateTime")]
|
||||
public string cartonCreateTime { get; set; }
|
||||
/// <summary>
|
||||
/// 箱子创建用户
|
||||
/// </summary>
|
||||
[JsonProperty("BoxUser")]
|
||||
public string BoxUser { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间(对应老OPS的创建时间)
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
[JsonProperty("BoxReturnDetails")]
|
||||
public List<OpsBoxDetailsResponse> Details = new List<OpsBoxDetailsResponse>();
|
||||
}
|
||||
public class SerialNumbersResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列号
|
||||
/// </summary>
|
||||
[JsonProperty("sn")]
|
||||
public string SerialNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 条码生成时间
|
||||
/// </summary>
|
||||
[JsonProperty("barCreateTime")]
|
||||
public string barCreateTime { get; set; }
|
||||
/// <summary>
|
||||
/// 条码生成用户
|
||||
/// </summary>
|
||||
[JsonProperty("barCereateUser")]
|
||||
public string barCereateUser { get; set; }
|
||||
|
||||
}
|
||||
public class OpsBoxDetailsResponse {
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
[JsonProperty("FMaterialId")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量(装箱数量)
|
||||
/// </summary>
|
||||
[JsonProperty("Qty")]
|
||||
public decimal Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 序列号集
|
||||
/// </summary>
|
||||
public List<string> SerialNumbers { get; set; } = new List<string>();
|
||||
[JsonProperty("SerialNumbers")]
|
||||
public List<SerialNumbersResponse> SerialNumbers { get; set; } = new List<SerialNumbersResponse>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user