From a3bfedef07b56e540b6ecb6870254cfc4adf37fb Mon Sep 17 00:00:00 2001 From: Brendson Silva Date: Sat, 17 Feb 2024 23:12:21 -0300 Subject: [PATCH] feat: create base entity --- BaseNet.Data.SDK/Base/EntityBase.cs | 10 ++++++++++ BaseNet.Data.SDK/BaseNet.Data.SDK.csproj | 8 ++++++++ BaseNet.Data.SDK/Program.cs | 2 -- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 BaseNet.Data.SDK/Base/EntityBase.cs delete mode 100644 BaseNet.Data.SDK/Program.cs diff --git a/BaseNet.Data.SDK/Base/EntityBase.cs b/BaseNet.Data.SDK/Base/EntityBase.cs new file mode 100644 index 0000000..858c098 --- /dev/null +++ b/BaseNet.Data.SDK/Base/EntityBase.cs @@ -0,0 +1,10 @@ +namespace BaseNet.Data.SDK.Base +{ + public class EntityBase + { + public string? CreatedUser { get; set; } + public string? UpdatedUser { get; set; } + public DateTime CreatedDate { get; set; } + public DateTime UpdatedDate { get; set; } + } +} \ No newline at end of file diff --git a/BaseNet.Data.SDK/BaseNet.Data.SDK.csproj b/BaseNet.Data.SDK/BaseNet.Data.SDK.csproj index 25650b9..379ed79 100644 --- a/BaseNet.Data.SDK/BaseNet.Data.SDK.csproj +++ b/BaseNet.Data.SDK/BaseNet.Data.SDK.csproj @@ -12,4 +12,12 @@ https://github.com/br3nds0n/basenet-data-sdk.git + + + + + + + + \ No newline at end of file diff --git a/BaseNet.Data.SDK/Program.cs b/BaseNet.Data.SDK/Program.cs deleted file mode 100644 index 3751555..0000000 --- a/BaseNet.Data.SDK/Program.cs +++ /dev/null @@ -1,2 +0,0 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!");