Files
test-alebro/Models/Movie.cs
Berack96 1b2ec9a1eb Favorites (#4)
* Added favorites page
* Refactor table to a reusable component

Reviewed-on: #4
Co-authored-by: Berack96 <giacomobertolazzi7@gmail.com>
Co-committed-by: Berack96 <giacomobertolazzi7@gmail.com>
2026-01-20 15:24:26 +01:00

17 lines
553 B
C#

using System.Text.Json.Serialization;
/// <summary>
/// Rappresenta un film con le sue proprietà principali.
/// Non ho preso tutte le proprietà disponibili dall'API OMDB, solo quelle richieste.
/// </summary>
public class Movie
{
public required string Title { get; set; }
public required string Year { get; set; }
[JsonPropertyName("imdbID")]
public required string IdIMDB { get; set; }
public required string Poster { get; set; }
public string Runtime { get; set; } = "N/A";
public string Plot { get; set; } = "N/A";
}