Tour.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace bobrovTounApp
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Tour
  14. {
  15. internal object types;
  16. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  17. public Tour()
  18. {
  19. this.Hotel = new HashSet<Hotel>();
  20. this.type = new HashSet<type>();
  21. }
  22. public int id { get; set; }
  23. public Nullable<int> TicketCount { get; set; }
  24. public string Name { get; set; }
  25. public string Description { get; set; }
  26. public string ImagePreview { get; set; }
  27. public Nullable<decimal> Price { get; set; }
  28. public Nullable<bool> isActual { get; set; }
  29. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  30. public virtual ICollection<Hotel> Hotel { get; set; }
  31. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  32. public virtual ICollection<type> type { get; set; }
  33. }
  34. }