project reorganized
This commit is contained in:
12
WatchIt.Common/WatchIt.Common.Model/Genres/Genre.cs
Normal file
12
WatchIt.Common/WatchIt.Common.Model/Genres/Genre.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Genres;
|
||||
|
||||
public class Genre
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public required string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user