Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Venzl
Spomf
Commits
3e8d3b97
Commit
3e8d3b97
authored
May 21, 2019
by
Martin Venzl
Browse files
Add new file
parents
Changes
1
Show whitespace changes
Inline
Side-by-side
Spomf
0 → 100644
View file @
3e8d3b97
entity Modul {
kuerzel String
bezeichnung String required
semester Integer
curriculum Curriculum
}
enum Curriculum {
Bachelor, Master
}
entity LVA {
lvanr String
kohorte String
}
entity PruefungsTyp {
art PruefungArt
dauer Integer
}
enum PruefungArt {
Muendlich, Schriftlich, Extern
}
entity PruefungsTermin {
startZeitpunkt Instant required
reminderActive Boolean required
}
entity Studienjahr {
jahr String
}
entity LVAInstanz {
}
entity Raum {
bezeichnung String required
kapazitaet Integer
}
entity MailRecipient {
active Boolean
}
entity Frage{
ID Integer,
Formulierung String,
Beschreibung String,
Erstelldatum LocalDate,
//speichern eines ev. vorhandenen Bildes
Bild Blob,
//ob die Frage in Moodle importiert wurde
FlagExport Boolean,
//Verweis auf die ElternFrage per ID
//Wenn null kein child
ParentID Integer,
Version Integer,
//Wenn true, dann ist diese die aktuelle Frage
CurrVersionFlag Boolean,
Autor String,
Bearbeiter String,
}
entity Antwort{
AntwortID Integer,
FrageID Integer,
Antwort String,
RichtigeAntwort Boolean,
}
entity Schlagworte {
Wort String,
SchlagwortID Integer,
FrageID Integer,
}
entity Kommentare {
FrageID Integer,
Kommentar String,
Kommentator String,
Bearbeitungsdatum LocalDate,
}
entity Kategorie {
Beschreibung String,
KategorieID Integer,
FrageID Integer,
}
//----Erweiterung der Relationen 210519
relationship ManyToOne {
Modul{mover} to Frage
}
relationship OneToMany {
Frage{ID} to Antwort{FrageID}
}
relationship ManyToMany {
Frage{ID} to Schlagworte{FrageID}
}
relationship OneToMany {
Frage{ID} to Kommentare{FrageID}
}
relationship OneToMany {
Frage{Id} to Kategorie{FrageID}
}
//----Oppl
relationship ManyToOne {
LVAInstanz{lva} to LVA
}
relationship ManyToOne {
LVAInstanz{jahr} to Studienjahr
}
relationship ManyToMany {
PruefungsTermin{raum} to Raum{termin}
}
relationship ManyToOne {
LVA{modul} to Modul
}
relationship ManyToOne {
Modul{pruefung} to PruefungsTyp
}
relationship OneToOne {
Modul{mover} to User
MailRecipient{user} to User
}
relationship ManyToOne {
PruefungsTermin{modul} to Modul
}
relationship ManyToMany {
PruefungsTermin{lvainstanz} to LVAInstanz{termin}
}
// Set pagination options
paginate Modul, PruefungsTyp with infinite-scroll
paginate LVA, PruefungsTermin with pagination
// Use Data Transfert Objects (DTO)
// dto * with mapstruct
// Set service options to all except few
service all with serviceImpl except Employee, Job
// Set an angular suffix
// angularSuffix * with mySuffix
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment