PIbd-21 Valiulov I.A. LabWork02 #3

Open
Ilyas wants to merge 5 commits from LabWork02 into LabWork01
Showing only changes of commit af4b0142cf - Show all commits

View File

@ -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
};