first commit

This commit is contained in:
2026-06-03 18:31:41 +03:30
commit 01f87cc461
71 changed files with 10802 additions and 0 deletions

32
backend/DTOs/UserDtos.cs Normal file
View File

@@ -0,0 +1,32 @@
namespace backend.DTOs;
public class RegisterRequest
{
public string FullName { get; set; } = string.Empty;
public string Contact { get; set; } = string.Empty;
}
public class RegisterResponse
{
public int UserId { get; set; }
public string TrackingCode { get; set; } = string.Empty;
}
public class LoginRequest
{
public string TrackingCode { get; set; } = string.Empty;
}
public class LoginResponse
{
public int UserId { get; set; }
public string FullName { get; set; } = string.Empty;
public string Contact { get; set; } = string.Empty;
public bool IsQuizCompleted { get; set; }
public List<int> KhatmSelections { get; set; } = new();
}
public class UserScoreResponse
{
public int TotalScore { get; set; }
}