//------------------------------------------------------------------------------
//
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
//
//------------------------------------------------------------------------------
namespace Turaev_BD_11._20._1
{
using System;
using System.Collections.Generic;
public partial class Hotel
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Hotel()
{
this.HotelComment = new HashSet();
this.Hotelimage = new HashSet();
this.Tour1 = new HashSet();
}
public int id { get; set; }
public string Name { get; set; }
public int CountOfStars { get; set; }
public string CountryCode { get; set; }
public virtual Country Country { get; set; }
public virtual Tour Tour { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection HotelComment { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Hotelimage { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Tour1 { get; set; }
}
}