first commit
This commit is contained in:
27
backend/DTOs/KhatmDtos.cs
Normal file
27
backend/DTOs/KhatmDtos.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
namespace backend.DTOs;
|
||||
|
||||
public class KhatmItemDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string? Url { get; set; }
|
||||
public int Points { get; set; }
|
||||
}
|
||||
|
||||
public class KhatmSaveRequest
|
||||
{
|
||||
public int UserId { get; set; }
|
||||
public List<KhatmSelectionDto> Selections { get; set; } = new();
|
||||
}
|
||||
|
||||
public class KhatmSelectionDto
|
||||
{
|
||||
public int KhatmItemId { get; set; }
|
||||
public bool IsSelected { get; set; }
|
||||
}
|
||||
|
||||
public class KhatmSaveResponse
|
||||
{
|
||||
public bool Success { get; set; }
|
||||
public int TotalScore { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user