Добавление даты в MaterialReplenishment

This commit is contained in:
IlyasValiulov 2024-11-22 11:33:12 +04:00
parent 77edac6d4b
commit af4b0142cf

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