28 lines
586 B
C#
28 lines
586 B
C#
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; }
|
|
}
|