Hotel.cs 701 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. namespace UPtur..Models;
  4. public partial class Hotel
  5. {
  6. public int Id { get; set; }
  7. public string Name { get; set; } = null!;
  8. public int CountOfStars { get; set; }
  9. public string CountryCode { get; set; } = null!;
  10. public string? Description { get; set; }
  11. public virtual Country CountryCodeNavigation { get; set; } = null!;
  12. public virtual ICollection<HotelComment> HotelComments { get; set; } = new List<HotelComment>();
  13. public virtual ICollection<HotelImage> HotelImages { get; set; } = new List<HotelImage>();
  14. public virtual ICollection<HotelOfTour> HotelOfTours { get; set; } = new List<HotelOfTour>();
  15. }