dan.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Supabase.Postgrest.Attributes;
  2. using Supabase.Postgrest.Models;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace TestProject1
  9. {
  10. //city [Table("city")]
  11. public class Season : BaseModel
  12. {
  13. //table season
  14. [PrimaryKey("id")] public int Id { get; set; }
  15. [Column("title_season")] public string title { get; set; }
  16. }
  17. public class Style: BaseModel
  18. {
  19. //table style
  20. [PrimaryKey("id")] public int Id { get; set; }
  21. [Column("title_style")] public string title { get; set; }
  22. }
  23. public class Type : BaseModel
  24. {
  25. //table style
  26. [PrimaryKey("id")] public int Id { get; set; }
  27. [Column("title_type")] public string title { get; set; }
  28. }
  29. public class Users : BaseModel
  30. {
  31. //table style
  32. [PrimaryKey("id")] public int Id { get; set; }
  33. [Column("user")] public string uid { get; set; }
  34. [Column("Name")] public string name { get; set; }
  35. }
  36. public class type_subtype : BaseModel
  37. {
  38. //table style
  39. [PrimaryKey("id")] public int Id { get; set; }
  40. [Column("id_type")] public string type { get; set; }
  41. [Column("type_subtype")] public string subtype { get; set; }
  42. }
  43. }