mirror of
https://github.com/ultrasn0w/app.git
synced 2025-12-13 23:19:53 +01:00
First stuff
This commit is contained in:
58
APP/DTO/SeasonAnime.cs
Normal file
58
APP/DTO/SeasonAnime.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace APP.DTO;
|
||||
|
||||
public class SeasonAnime
|
||||
{
|
||||
[JsonPropertyName("anime")] public long Anime { get; set; }
|
||||
|
||||
[JsonPropertyName("title")] public string Title { get; set; }
|
||||
|
||||
[JsonPropertyName("titleEn")] public string TitleEn { get; set; }
|
||||
|
||||
[JsonPropertyName("titleJp")] public string TitleJp { get; set; }
|
||||
|
||||
[JsonPropertyName("imageMedium")] public string ImageMedium { get; set; }
|
||||
|
||||
[JsonPropertyName("imageLarge")] public string ImageLarge { get; set; }
|
||||
|
||||
[JsonPropertyName("imageThumb")] public string? ImageThumb { get; set; }
|
||||
|
||||
[JsonPropertyName("type")] public string Type { get; set; }
|
||||
|
||||
[JsonPropertyName("status")] public string Status { get; set; }
|
||||
|
||||
[JsonPropertyName("episodes")] public int Episodes { get; set; }
|
||||
|
||||
[JsonPropertyName("synopsis")] public string? Synopsis { get; set; }
|
||||
|
||||
[JsonPropertyName("genres")] public List<Genre>? Genres { get; set; }
|
||||
|
||||
[JsonPropertyName("startDate")] public DateTime StartDate { get; set; }
|
||||
|
||||
[JsonPropertyName("endDate")] public DateTime EndDate { get; set; }
|
||||
|
||||
[JsonPropertyName("year")] public int Year { get; set; }
|
||||
|
||||
[JsonPropertyName("season")] public string SeasonString { get; set; }
|
||||
|
||||
[JsonPropertyName("score")] public double Score { get; set; }
|
||||
|
||||
[JsonPropertyName("scoredBy")] public int ScoredBy { get; set; }
|
||||
|
||||
[JsonPropertyName("rank")] public int Rank { get; set; }
|
||||
|
||||
[JsonPropertyName("popularity")] public int Popularity { get; set; }
|
||||
|
||||
[JsonPropertyName("members")] public int Members { get; set; }
|
||||
|
||||
[JsonPropertyName("source")] public string? Source { get; set; }
|
||||
|
||||
[JsonPropertyName("weekday")] public string? Weekday { get; set; }
|
||||
|
||||
[JsonPropertyName("studios")] public List<Studio>? Studios { get; set; }
|
||||
|
||||
[JsonPropertyName("trailerUrl")] public string? TrailerUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("trailerEmbedUrl")] public string? TrailerEmbedUrl { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user