Type.cs 430 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. namespace TourAgent.Models
  4. {
  5. public partial class Type
  6. {
  7. public Type()
  8. {
  9. TypeOfTours = new HashSet<TypeOfTour>();
  10. }
  11. public int Id { get; set; }
  12. public string Name { get; set; } = null!;
  13. public string? Description { get; set; }
  14. public virtual ICollection<TypeOfTour> TypeOfTours { get; set; }
  15. }
  16. }