mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 15:40:07 +01:00
Merge branch 'AddQuote' into basic_jwt_auth
This commit is contained in:
7
DTOs/CreateQuote.cs
Normal file
7
DTOs/CreateQuote.cs
Normal file
@@ -0,0 +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; }
|
||||
};
|
||||
9
DTOs/RandomQuote.cs
Normal file
9
DTOs/RandomQuote.cs
Normal file
@@ -0,0 +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();
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user