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

27
backend/DTOs/KhatmDtos.cs Normal file
View 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; }
}