Otel.cs 867 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. namespace TourAgent.Models
  4. {
  5. public partial class Otel
  6. {
  7. public Otel()
  8. {
  9. HotelComments = new HashSet<OtelComment>();
  10. HotelImages = new HashSet<OtelImage>();
  11. HotelOfTours = new HashSet<OtelOfTour>();
  12. }
  13. public int Id { get; set; }
  14. public string Name { get; set; } = null!;
  15. public int CountOfStars { get; set; }
  16. public string CountryCode { get; set; } = null!;
  17. public string? Description { get; set; }
  18. public virtual Country CountryCodeNavigation { get; set; } = null!;
  19. public virtual ICollection<OtelComment> HotelComments { get; set; }
  20. public virtual ICollection<OtelImage> HotelImages { get; set; }
  21. public virtual ICollection<OtelOfTour> HotelOfTours { get; set; }
  22. }
  23. }