From af4b0142cfc0336f978b6a81c74e9903b33f325d Mon Sep 17 00:00:00 2001 From: IlyasValiulov <148232695+IlyasValiulov@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:33:12 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=B0=D1=82=D1=8B=20=D0=B2=20Materi?= =?UTF-8?q?alReplenishment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CarpentryWorkshop/Entities/MaterialReplenishment.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CarpentryWorkshop/CarpentryWorkshop/Entities/MaterialReplenishment.cs b/CarpentryWorkshop/CarpentryWorkshop/Entities/MaterialReplenishment.cs index a74839a..74eeab3 100644 --- a/CarpentryWorkshop/CarpentryWorkshop/Entities/MaterialReplenishment.cs +++ b/CarpentryWorkshop/CarpentryWorkshop/Entities/MaterialReplenishment.cs @@ -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 };