Tour.cs 779 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections;
  4. namespace TourAgent.Models
  5. {
  6. public partial class Tour
  7. {
  8. public Tour()
  9. {
  10. HotelOfTours = new HashSet<HotelOfTour>();
  11. TypeOfTours = new HashSet<TypeOfTour>();
  12. }
  13. public int Id { get; set; }
  14. public int TicketCount { get; set; }
  15. public string Name { get; set; } = null!;
  16. public string? Desription { get; set; }
  17. public byte[]? ImagePreview { get; set; }
  18. public decimal Price { get; set; }
  19. public BitArray IsActual { get; set; } = null!;
  20. public virtual ICollection<HotelOfTour> HotelOfTours { get; set; }
  21. public virtual ICollection<TypeOfTour> TypeOfTours { get; set; }
  22. }
  23. }