Добавление даты в MaterialReplenishment
This commit is contained in:
parent
77edac6d4b
commit
af4b0142cf
@ -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