-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogesto-bis.jh
39 lines (36 loc) · 1.1 KB
/
progesto-bis.jh
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
// JDL definition for application 'progesto' generated with command 'jhipster export-jdl'
entity Employe (employe) {
login String,
chefDeProjet Boolean
}
entity AttributionTacheAemploye (attribution_tache_aemploye) {
date LocalDate,
quartDeJourneeDeLaDate Integer
}
entity Tache (tache) {
nomTache String,
descriptionTache String,
debutTache LocalDate,
finTache LocalDate,
nbQuartJourneeAattribuer Integer
}
entity Projet (projet) {
nomProjet String,
descriptionProjet String,
debutProjet LocalDate,
finProjet LocalDate,
loginChefDeProjet String
}
relationship OneToOne {
Employe{loginDansLeLdap(login)} to User
}
relationship OneToMany {
Employe{tachePerso} to AttributionTacheAemploye{aquiVoulezVousLesAttribuer(login)},
Tache{tachePourChaqueEmploye} to AttributionTacheAemploye{tacheMere(nomTache)},
Projet{projetMereDeChaqueTache} to Tache{aquelProjetAppartientCetteTache(nomProjet)}
}
relationship ManyToMany {
Projet{ingenieursParProjet(login)} to Employe{surQuelProjetEstIlInscrit}
}
//dto Employe, AttributionTacheAemploye, Tache, Projet with mapstruct
service * with serviceImpl