mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 16:00:06 +01:00
chore: (WIP) group controllers, slightly annotate code
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
public record class CreateQuoteRequest
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Author { get; set; }
|
||||
public List<int> CategoryIds { get; set; }
|
||||
public string? ImageUrl { get; set; }
|
||||
};
|
||||
public record class CreateQuoteDTO
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Author { get; set; }
|
||||
public List<int> CategoryIds { get; set; }
|
||||
public string? ImageUrl { get; set; }
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
public record class RandomQuote
|
||||
{
|
||||
public string Text { get; set; } = string.Empty;
|
||||
public string Author { get; set; } = string.Empty;
|
||||
public string? ImageUrl { get; set; }
|
||||
public List<string> Categories { get; set; } = new();
|
||||
|
||||
};
|
||||
|
||||
public record class RandomQuote
|
||||
{
|
||||
public string Text { get; set; } = string.Empty;
|
||||
public string Author { get; set; } = string.Empty;
|
||||
public string? ImageUrl { get; set; }
|
||||
public List<string> Categories { get; set; } = new();
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user