PIbd-21 Valiulov I.A. LabWork02 #3
@ -3,6 +3,7 @@
|
||||
public class MaterialReplenishment
|
||||
{
|
||||
public int Id { get; private set; }
|
||||
public DateTime DateReplenishment { get; private set; }
|
||||
public string Name { get; private set; } = string.Empty;
|
||||
public int Count { get; private set; }
|
||||
public static MaterialReplenishment CreateOperation(int id, string name, int count)
|
||||
@ -10,6 +11,7 @@ public class MaterialReplenishment
|
||||
return new MaterialReplenishment
|
||||
{
|
||||
Id = id,
|
||||
DateReplenishment = DateTime.Now,
|
||||
Name = name,
|
||||
Count = count
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user