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