|
|
|
@ -6,6 +6,8 @@ namespace ProductManagement
|
|
|
|
[Serializable]
|
|
|
|
[Serializable]
|
|
|
|
public class ProductStockCountChangedEto : EtoBase
|
|
|
|
public class ProductStockCountChangedEto : EtoBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
public Guid Id { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public int OldCount { get; set; }
|
|
|
|
public int OldCount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int CurrentCount { get; set; }
|
|
|
|
public int CurrentCount { get; set; }
|
|
|
|
@ -15,8 +17,9 @@ namespace ProductManagement
|
|
|
|
//Default constructor is needed for deserialization.
|
|
|
|
//Default constructor is needed for deserialization.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public ProductStockCountChangedEto(int oldCount, int currentCount)
|
|
|
|
public ProductStockCountChangedEto(Guid id, int oldCount, int currentCount)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
Id = id;
|
|
|
|
OldCount = oldCount;
|
|
|
|
OldCount = oldCount;
|
|
|
|
CurrentCount = currentCount;
|
|
|
|
CurrentCount = currentCount;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|