//------------------------------------------------------------------------------ // // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода. // //------------------------------------------------------------------------------ namespace Ageev_Exam_Tour.Model { using System; using System.Collections.Generic; public partial class Tour { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Tour() { this.Hotel = new HashSet(); this.Type = new HashSet(); } public int Id { get; set; } public int TicketCount { get; set; } public string Name { get; set; } public string Description { get; set; } public byte[] ImagePreview { get; set; } public decimal Price { get; set; } public bool IsActual { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Hotel { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Type { get; set; } } }