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