调整盘点单

This commit is contained in:
18942506660
2023-11-01 11:08:59 +08:00
parent 9dd32beba4
commit 54b894c5dd
3 changed files with 75 additions and 28 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
@@ -40,9 +41,55 @@ namespace WMS.Web.Domain.Entitys
[Column("SuccessSync")]
public bool? SuccessSync { get; set; }
/// <summary>
/// 明细
/// 箱Id
/// </summary>
public List<TakeStockDetails> Details = new List<TakeStockDetails>();
[Column("BoxId")]
public int BoxId { get; set; }
/// <summary>
/// 物料ID
/// </summary>
[Column("MaterialId")]
public int MaterialId { get; set; }
/// <summary>
/// 单位ID
/// </summary>
[Column("UnitId")]
public int UnitId { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
[Column("StockId")]
public int StockId { get; set; }
/// <summary>
/// 仓位ID
/// </summary>
[Column("SubStockId")]
public int SubStockId { get; set; }
/// <summary>
/// 盘点前数量wms系统数量
/// </summary>
[Column("BeforeQty")]
public decimal BeforeQty { get; set; }
/// <summary>
/// 盘点实际数量(实际仓库数量)
/// </summary>
[Column("AfterQty")]
public decimal AfterQty { get; set; }
/// <summary>
/// 盘点后数量
/// </summary>
[Column("FinalQty")]
public decimal FinalQty { get; set; }
/// <summary>
/// 盘点结果类型1为盘盈2位盘亏
/// </summary>
[Column("ResultType")]
public TakeStockType ResultType { get; set; } = TakeStockType.Profit;
/// <summary>
/// 备注
/// </summary>
[Column("Remark")]
public string Remark { get; set; }
/// <summary>
/// 创建
/// </summary>