1234567891011121314151617181920212223242526272829303132333435363738 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // Этот код создан по шаблону.
- //
- // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
- // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace Turaev_BD_11._20._1
- {
- using System;
- using System.Collections.Generic;
-
- public partial class Tour
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
- public Tour()
- {
- this.Hotel1 = new HashSet<Hotel>();
- this.Type = new HashSet<Type>();
- }
-
- 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; }
-
- public virtual Hotel Hotel { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<Hotel> Hotel1 { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<Type> Type { get; set; }
- }
- }
|