production.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. export class ProductionEnum { key!: string; value!: string; }
  2. export const ProductionTypeList: ProductionEnum[] =
  3. [
  4. { key: "EXECUTABLE", value: $localize`Exécutable`},
  5. { key: "GRAPHE", value: $localize`Graphe`},
  6. { key: "MUSIQUE", value: $localize`Musique`},
  7. { key: "VIDEO", value: $localize`Vidéo`},
  8. { key: "TOPIC", value: $localize`Topic`},
  9. { key: "AUTRE", value: $localize`Autre`}
  10. ];
  11. export class Production
  12. {
  13. numeroProduction: number = 0;
  14. type: string = "AUTRE";
  15. titre: string = "";
  16. auteurs: string = "";
  17. groupes: string = "";
  18. plateforme: string = "";
  19. commentaire: string = "";
  20. informationsPrivees: string = "";
  21. numeroParticipant: number = 0;
  22. nomArchive: string = "";
  23. archive!: string | any;
  24. vignette!: string | any;
  25. numeroVersion: number = 0;
  26. }
  27. export class ProductionShort
  28. {
  29. dateCreation?: string;
  30. dateModification?: string;
  31. numeroProduction: number = 0;
  32. adresseIP: string = "";
  33. type: string = "AUTRE";
  34. titre: string = "";
  35. auteurs: string = "";
  36. groupes: string = "";
  37. plateforme: string = "";
  38. commentaire: string = "";
  39. informationsPrivees: string = "";
  40. numeroGestionnaire: number = 0;
  41. nomGestionnaire: string = "";
  42. nomArchive: string = "";
  43. vignette!: string | any;
  44. numeroVersion: number = 0;
  45. numeroCategorie: number = 0;
  46. ordrePresentation: number = 0;
  47. etatMedia: number = 0;
  48. }
  49. export class ProductionFile
  50. {
  51. numeroProduction: number = 0;
  52. numeroParticipant: number = 0;
  53. titre: string = "";
  54. nomArchive: string = "";
  55. archive!: string | any;
  56. }
  57. export class ProductionItem
  58. {
  59. numeroProduction: number = 0;
  60. type: string = "AUTRE";
  61. titre: string = "";
  62. auteurs: string = "";
  63. groupes: string = "";
  64. plateforme: string = "";
  65. numeroOrdre: number = 0;
  66. }
  67. export class ProductionChoice
  68. {
  69. numeroProduction: number = 0;
  70. type: string = "AUTRE";
  71. titre: string = "";
  72. auteurs: string = "";
  73. groupes: string = "";
  74. plateforme: string = "";
  75. numeroOrdre: number = 0;
  76. vignette!: string | any;
  77. }
  78. export class PresentationFile
  79. {
  80. numeroProduction: number = 0;
  81. etatMedia: number = 0;
  82. mediaMime: string = "";
  83. mediaData!: string | any;
  84. mediaName!: string | any;
  85. }