first commit
This commit is contained in:
32
backend/DTOs/UserDtos.cs
Normal file
32
backend/DTOs/UserDtos.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user