Hotels.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using Supabase.Postgrest.Attributes;
  2. using Supabase.Postgrest.Models;
  3. namespace UnitTestTripHelper.Model
  4. {
  5. [Table("hotels")]
  6. public class Hotels : BaseModel
  7. {
  8. [PrimaryKey("id")]
  9. public int Id { get; set; }
  10. [Column("city")]
  11. public int City { get; set; }
  12. [Column("name")]
  13. public string Name { get; set; }
  14. [Column("rating")]
  15. public int Rating { get; set; }
  16. [Column("quantity_of_rooms")]
  17. public int Quantity_of_rooms { get; set; }
  18. [Column("floors")]
  19. public int Floors { get; set; }
  20. [Column("address")]
  21. public string Address { get; set; }
  22. [Column("basic_info")]
  23. public string Basic_info { get; set; }
  24. [Column("interior")]
  25. public string Interior { get; set; }
  26. [Column("photo_interior")]
  27. public string Photo_interior { get; set; }
  28. [Column("rooms")]
  29. public string Rooms { get; set; }
  30. [Column("photo_room")]
  31. public string Photo_room { get; set; }
  32. [Column("price")]
  33. public string Price { get; set; }
  34. [Column("services")]
  35. public string Services { get; set; }
  36. [Column("coordinates")]
  37. public string Coordinates { get; set; }
  38. }
  39. }