Country.cs 357 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. namespace UPtur.Models;
  4. public partial class Country
  5. {
  6. public Country()
  7. {
  8. Hotels = new HashSet<Hotel>();
  9. }
  10. public string Code { get; set; } = null!;
  11. public string Name { get; set; } = null!;
  12. public virtual ICollection<Hotel> Hotels { get; set; } = new List<Hotel>();
  13. }