Skip to content

Commit

Permalink
feat: create base entity
Browse files Browse the repository at this point in the history
  • Loading branch information
br3nds0n committed Feb 18, 2024
1 parent 8667d18 commit a3bfede
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
10 changes: 10 additions & 0 deletions BaseNet.Data.SDK/Base/EntityBase.cs
Original file line number Diff line number Diff line change
@@ -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; }
}
}
8 changes: 8 additions & 0 deletions BaseNet.Data.SDK/BaseNet.Data.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@
<RepositoryUrl>https://github.com/br3nds0n/basenet-data-sdk.git</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.21" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.21" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.21" />
<PackageReference Include="EFCore.NamingConventions" Version="6.0.0" />
</ItemGroup>

</Project>
2 changes: 0 additions & 2 deletions BaseNet.Data.SDK/Program.cs

This file was deleted.

0 comments on commit a3bfede

Please sign in to comment.