33 lines
758 B
C#
33 lines
758 B
C#
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; }
|
|
}
|