3 changed files with 219 additions and 3 deletions
@ -0,0 +1,95 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Win_in.Sfs.Shared.Domain.Shared; |
|||
using Win_in.Sfs.Wms.Inventory.Application.Contracts; |
|||
|
|||
namespace Win_in.Sfs.Wms.Inventory.Balances; |
|||
|
|||
public class ReportItemSerialDto |
|||
{ |
|||
public string ItemCode { get; set; } |
|||
|
|||
public string ItemName { get; set; } |
|||
|
|||
public string ItemDesc1 { get; set; } |
|||
|
|||
public string ItemDesc2 { get; set; } |
|||
|
|||
public string Configuration { get; set; } |
|||
|
|||
public List<ReportErpLocationSerialDto> ReportErpLocationSerialDtos { get; set; } = new(); |
|||
} |
|||
|
|||
public class ReportErpLocationSerialDto |
|||
{ |
|||
public string ErpLocatioCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 期初库存 小于开始时间
|
|||
/// </summary>
|
|||
public decimal FirstQty { get; set; } |
|||
|
|||
public decimal SumInQty { get; set; } |
|||
|
|||
public decimal SumOutQty { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 此时此刻的库存
|
|||
/// </summary>
|
|||
public decimal NowQty { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 期末库存 期初+入库-出库
|
|||
/// </summary>
|
|||
public decimal LastQty { get; set; } |
|||
|
|||
public List<ReportLocationSerialDto> ReportLocationSerialDtos { get; set; } = new(); |
|||
} |
|||
|
|||
public class ReportLocationSerialDto |
|||
{ |
|||
public string LocatioCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 期初库存 小于开始时间
|
|||
/// </summary>
|
|||
public decimal FirstQty { get; set; } |
|||
|
|||
public decimal SumInQty { get; set; } |
|||
|
|||
public decimal SumOutQty { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 此时此刻的库存
|
|||
/// </summary>
|
|||
public decimal NowQty { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 期末库存 期初+入库-出库
|
|||
/// </summary>
|
|||
public decimal LastQty { get; set; } |
|||
|
|||
public List<ReportTransactionSerialDto> ReportTransactionSerialDtos { get; set; } = new(); |
|||
} |
|||
|
|||
public class ReportTransactionSerialDto |
|||
{ |
|||
public string LocatioCode { get; set; } |
|||
public decimal InQty { get; set; } |
|||
|
|||
public decimal OutQty { get; set; } |
|||
|
|||
public string Number { get; set; } |
|||
|
|||
public DateTime CreateDateTime { get; set; } |
|||
|
|||
public string DocNumber { get; set; } |
|||
|
|||
public EnumTransType EnumTransType { get; set; } |
|||
|
|||
public EnumTransSubType EnumTransSubType { get; set; } |
|||
|
|||
public string InterFaceName { get; set; } |
|||
|
|||
public TransactionDTO TransactionDto { get; set; } |
|||
} |
Loading…
Reference in new issue