Movie.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MyMoviesWPF
  4. {
  5. public partial class Movie
  6. {
  7. public Movie()
  8. {
  9. Catalogs = new HashSet<Catalog>();
  10. }
  11. public Movie(Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<Movie, string> includableQueryable)
  12. {
  13. Catalogs = new HashSet<Catalog>();
  14. }
  15. public int Idmovie { get; set; }
  16. public int? Idgenre { get; set; }
  17. public string Name { get; set; } = null!;
  18. public DateTime? ProductYear { get; set; }
  19. public string? Languages { get; set; }
  20. public int? IdactorList { get; set; }
  21. public string? Description { get; set; }
  22. public decimal Price { get; set; }
  23. public int? Idorder { get; set; }
  24. public string? Trailer { get; set; }
  25. public string? Image { get; set; }
  26. public virtual ActorList? IdactorListNavigation { get; set; }
  27. public virtual Genre? IdgenreNavigation { get; set; }
  28. public virtual Order? IdorderNavigation { get; set; }
  29. public virtual ICollection<Catalog> Catalogs { get; set; }
  30. }
  31. }