Restaurants.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using Supabase.Postgrest.Attributes;
  2. using Supabase.Postgrest.Models;
  3. namespace UnitTestTripHelper.Model
  4. {
  5. [Table("restaurants")]
  6. public class Restaurants : BaseModel
  7. {
  8. [PrimaryKey("id")]
  9. public int Id { get; set; }
  10. [Column("city")]
  11. public int City { get; set; }
  12. [Column("currency")]
  13. public int Currency { get; set; }
  14. [Column("name")]
  15. public string Name { get; set; }
  16. [Column("work_schedule")]
  17. public string Work_schedule { get; set; }
  18. [Column("phone")]
  19. public string Phone { get; set; }
  20. [Column("photo")]
  21. public string Photo { get; set; }
  22. [Column("average_check")]
  23. public int Average_check { get; set; }
  24. [Column("address")]
  25. public string Address { get; set; }
  26. [Column("basic_info")]
  27. public string Basic_info { get; set; }
  28. [Column("interior")]
  29. public string Interior { get; set; }
  30. [Column("price")]
  31. public string Price { get; set; }
  32. [Column("recommendations")]
  33. public string Recommendations { get; set; }
  34. [Column("coordinates")]
  35. public string Coordinates { get; set; }
  36. }
  37. }