-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmodele.txt
73 lines (71 loc) · 2.08 KB
/
modele.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export interface Statistiques {
totalFiles: number;
resolvedFiles: number;
ongoingFiles: number;
// Autres statistiques pertinentes
// Autres attributs spécifiques à votre modèle, si présents
}
export interface Priorite {
_id: string;
name: string;
description: string;
// Autres attributs spécifiques à votre modèle, si présents
}
export interface Utilisateur {
id: number;
nomUtilisateur: string;
motDePasse: string;
role: string; // "Client", "Manager", "Senior", "Comptable"
email: string;
telephone: string;
adresse: string;
creation:Date;
}
export interface Reclamation {
id: number;
client: Utilisateur; // Utilisateur client
dateCreation: Date;
etat: string;
description: string;
fichierExcel: string; // Nom du fichier Excel en PJ
}
export interface CarouselInterface {
_id: string,
titre: string,
commentaire: string,
description: string,
ficheUrl: string,
rang:number,
tarifs?:number[],
}
export interface MailInformation {
id: string;
destinataire: Client;
fichierExcel: FichierExcel;
dateEnvoi: Date;
}
export interface Commentaire {
id: string;
author: string; // Auteur du commentaire
text: string; // Texte du commentaire
creationDate: Date; // Date de création du commentaire
claimId: string; // Identifiant de la réclamation associée
status: "Pending" | "Approved" | "Rejected"; // Statut du commentaire (en attente, approuvé, rejeté, etc.)
attachments?: string[]; // Liste des fichiers joints au commentaire
}
export interface MembreCabinet {
id: string;
nom: string;
prenom: string;
email: string;
role: string;
}
export interface TravailMembreCabinet {
id: string; // Identifiant du travail chronométré
membreCabinet: MembreCabinet; // Membre du cabinet associé au travail
tache: string; // Description de la tâche effectuée
tempsPasse: number; // Temps passé sur la tâche en minutes
dateDebut: Date; // Date de début du travail
dateFin: Date; // Date de fin du travail
clientCode?: string; // Code client lié à la tâche (si applicable)
}