Film.cs 638 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. namespace ApplicationAvalonia.Models;
  4. public partial class Film
  5. {
  6. public int Id { get; set; }
  7. public string Name { get; set; } = null!;
  8. public string? Image { get; set; }
  9. public string? Description { get; set; }
  10. public string Duration { get; set; } = null!;
  11. public string? Trailer { get; set; }
  12. public decimal? Raiting { get; set; }
  13. public virtual ICollection<DirectorsAndFilm> DirectorsAndFilms { get; set; } = new List<DirectorsAndFilm>();
  14. public virtual ICollection<FilmAndGenre> FilmAndGenres { get; set; } = new List<FilmAndGenre>();
  15. }