-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from AbreuHD/39-fix-scraper-update-source-url-…
…from-cuevana3ch-to-cuevanabiz Code cleanup and dependency updates.
- Loading branch information
Showing
4 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,43 @@ | ||
namespace Core.Application.DTOs.TMDB | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Core.Application.DTOs.TMDB | ||
{ | ||
public class TmdbResult | ||
{ | ||
public int ID { get; set; } | ||
|
||
[JsonProperty("title")] | ||
public required string Title { get; set; } | ||
|
||
[JsonProperty("original_title")] | ||
public string? OriginalTitle { get; set; } | ||
|
||
[JsonProperty("genre_ids")] | ||
public List<int>? GenreIds { get; set; } | ||
|
||
[JsonProperty("adult")] | ||
public bool? Adult { get; set; } | ||
|
||
[JsonProperty("vote_average")] | ||
public double? VoteAverage { get; set; } | ||
|
||
[JsonProperty("vote_count")] | ||
public int? VoteCount { get; set; } | ||
|
||
[JsonProperty("overview")] | ||
public string? Overview { get; set; } | ||
|
||
[JsonProperty("video")] | ||
public string? Video { get; set; } | ||
|
||
[JsonProperty("poster_path")] | ||
public string? PosterPath { get; set; } | ||
|
||
[JsonProperty("backdrop_path")] | ||
public string? BackdropPath { get; set; } | ||
|
||
[JsonProperty("release_date")] | ||
public string? ReleaseDate { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters