baliasnyifeliks 2249a36c96 Fix
2026-01-31 21:30:55 +02:00

51 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace Uaflix.Models
{
/// <summary>
/// Модель для зберігання інформації про фільм
/// </summary>
public class FilmInfo
{
/// <summary>
/// URL сторінки фільму
/// </summary>
public string Url { get; set; }
/// <summary>
/// Назва фільму
/// </summary>
public string Title { get; set; }
/// <summary>
/// Рік випуску
/// </summary>
public int Year { get; set; }
/// <summary>
/// Опис фільму
/// </summary>
public string Description { get; set; }
/// <summary>
/// Постер фільму
/// </summary>
public string PosterUrl { get; set; }
/// <summary>
/// Список акторів
/// </summary>
public List<string> Actors { get; set; } = new List<string>();
/// <summary>
/// Режисер
/// </summary>
public string Director { get; set; }
/// <summary>
/// Тривалість у секундах
/// </summary>
public int Duration { get; set; }
}
}