1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- namespace TourAgent.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; }
- public virtual ICollection<HotelImage> HotelImages { get; set; }
- public virtual ICollection<HotelOfTour> HotelOfTours { get; set; }
- }
- }
|