123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- namespace UPtur.Models;
- public partial class Hotel
- {
- public Hotel()
- {
- HotelComments = new HashSet<HotelComment>();
- HotelImages = new HashSet<HotelImage>();
- HotelOfTours = new HashSet<HotelOfTour>();
- }
- public int Id { get; set; }
- public string Name { get; set; } = null!;
- public int CountOfStars { get; set; }
- public string CountryCode { get; set; } = null!;
- public string? Description { get; set; }
- public virtual Country CountryCodeNavigation { get; set; } = null!;
- public virtual ICollection<HotelComment> HotelComments { get; set; } = new List<HotelComment>();
- public virtual ICollection<HotelImage> HotelImages { get; set; } = new List<HotelImage>();
- public virtual ICollection<HotelOfTour> HotelOfTours { get; set; } = new List<HotelOfTour>();
- }
|