initial commit

This commit is contained in:
Yui
2025-11-26 16:50:06 -03:00
commit 5644aa0ebf
47 changed files with 800 additions and 0 deletions

10
Domain/Domain.csproj Normal file
View File

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

10
Domain/Entities/Kill.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace Domain.Entities;
public class Kill
{
public int Id { get; set; }
public int UserId { get; set; }
public User User { get; set; }
public string Victim { get; set; }
public double Damage { get; set; }
}

11
Domain/Entities/User.cs Normal file
View File

@@ -0,0 +1,11 @@
namespace Domain.Entities;
public class User
{
public int Id { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Email { get; set; }
public IEnumerable<Kill> Kills { get; set; } = new List<Kill>();
}

View File

@@ -0,0 +1,8 @@
namespace Domain.Enums;
public enum EErrorCategory
{
UserValidationError,
DataNotFoundError,
RequestError,
}

View File

@@ -0,0 +1,7 @@
namespace Domain.Enums.ErrorCategories;
public enum EUserValidationError
{
DuplicateUserName,
DuplicateEmail,
}