Organization.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. import ApiModel from "~/models/ApiModel";
  2. import {Bool, Str, Attr, Num} from "pinia-orm/dist/decorators";
  3. export class Organization extends ApiModel {
  4. static entity = 'organizations'
  5. @Str(null)
  6. name!: string|null
  7. @Str(null)
  8. acronym!: string|null
  9. @Str(null)
  10. siretNumber!: string|null
  11. @Str(null)
  12. apeNumber!: string|null
  13. @Str(null)
  14. waldecNumber!: string|null
  15. @Str(null)
  16. identifier!: string|null
  17. @Str(null)
  18. ffecApproval!: string|null
  19. @Str(null)
  20. description!: string|null
  21. @Attr([])
  22. typeOfPractices!: []
  23. @Str(null)
  24. otherPractice!: string|null
  25. @Str(null)
  26. legalStatus!: string|null
  27. @Str(null)
  28. principalType!: string|null
  29. @Str(null)
  30. youngApproval!: string|null
  31. @Str(null)
  32. trainingApproval!: string|null
  33. @Str(null)
  34. otherApproval!: string|null
  35. @Str(null)
  36. collectiveAgreement!: string|null
  37. @Str(null)
  38. opca!: string|null
  39. @Str(null)
  40. icomNumber!: string|null
  41. @Str(null)
  42. urssafNumber!: string|null
  43. @Str(null)
  44. twitter!: string|null
  45. @Str(null)
  46. youtube!: string|null
  47. @Str(null)
  48. facebook!: string|null
  49. @Str(null)
  50. instagram!: string|null
  51. @Bool(true, { notNullable: true })
  52. portailVisibility!: boolean
  53. @Str(null)
  54. image!: string|null
  55. @Str(null)
  56. creationDate!: string|null
  57. @Str(null)
  58. prefectureName!: string|null
  59. @Str(null)
  60. prefectureNumber!: string|null
  61. @Str(null)
  62. declarationDate!: string|null
  63. @Str(null)
  64. tvaNumber!: string|null
  65. @Str(null)
  66. schoolCategory!: string|null
  67. @Str(null)
  68. typeEstablishment!: string|null
  69. @Str(null)
  70. typeEstablishmentDetail!: string|null
  71. @Bool(false, { notNullable: true })
  72. isPerformanceContractor!: boolean
  73. @Num(0)
  74. budget!: number
  75. @Bool(false, { notNullable: true })
  76. isPedagogicIsPrincipalActivity!: boolean
  77. @Num(0)
  78. pedagogicBudget!: number
  79. @Str(null)
  80. logo!: string|null
  81. }