mirror of
https://github.com/ultrasn0w/app.git
synced 2025-12-15 19:49:53 +01:00
59 lines
1.9 KiB
C#
59 lines
1.9 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace APP.DTO;
|
|
|
|
public class Anime
|
|
{
|
|
[JsonPropertyName("anime")] public int AnimeId { 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? Season { 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; }
|
|
}
|