project reorganized
This commit is contained in:
24
WatchIt.Common/WatchIt.Common.Model/Movies/Movie.cs
Normal file
24
WatchIt.Common/WatchIt.Common.Model/Movies/Movie.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Movies;
|
||||
|
||||
public class Movie
|
||||
{
|
||||
[JsonPropertyName("title")]
|
||||
public required string Title { get; set; }
|
||||
|
||||
[JsonPropertyName("original_title")]
|
||||
public string? OriginalTitle { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
[JsonPropertyName("release_date")]
|
||||
public DateOnly? ReleaseDate { get; set; }
|
||||
|
||||
[JsonPropertyName("length")]
|
||||
public short? Length { get; set; }
|
||||
|
||||
[JsonPropertyName("budget")]
|
||||
public decimal? Budget { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user