Skip to content

Commit

Permalink
#8 Add field for German i18n in domain objects
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Strittmatter <[email protected]>
  • Loading branch information
Weltraumschaf committed May 24, 2022
1 parent 36ba30e commit 41edff0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions teamDojo_v2.jdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ entity Activity {

entity Badge {
titleEN String required minlength(2) maxlength(20)
titleDE String minlength(2) maxlength(20)
descriptionEN String maxlength(4096)
descriptionDE String maxlength(4096)
availableUntil Instant
availableAmount Integer min(1)
requiredScore Double required min(0) max(1)
Expand All @@ -33,7 +35,9 @@ entity Comment {

entity Dimension {
titleEN String required minlength(1) maxlength(50)
titleDE String minlength(1) maxlength(50)
descriptionEN String maxlength(4096)
descriptionDE String maxlength(4096)
createdAt Instant required
updatedAt Instant required
}
Expand All @@ -50,7 +54,9 @@ entity Image {

entity Level {
titleEN String required minlength(3) maxlength(50)
titleDE String minlength(3) maxlength(50)
descriptionEN String maxlength(4096)
descriptionDE String maxlength(4096)
requiredScore Double required min(0) max(1)
instantMultiplier Double required min(0)
completionBonus Integer min(0)
Expand All @@ -73,9 +79,13 @@ entity Report {

entity Skill {
titleEN String required minlength(5) maxlength(80)
titleDE String minlength(5) maxlength(80)
descriptionEN String maxlength(4096)
descriptionDE String maxlength(4096)
implementationEN String maxlength(4096)
implementationDE String maxlength(4096)
validationEN String maxlength(4096)
validationDE String maxlength(4096)
expiryPeriod Integer min(1)
contact String maxlength(255)
score Integer required min(0)
Expand Down Expand Up @@ -110,7 +120,9 @@ entity TeamSkill {

entity Training {
titleEN String required maxlength(80)
titleDE String maxlength(80)
descriptionEN String maxlength(4096)
descriptionDE String maxlength(4096)
contact String maxlength(255)
link String maxlength(255)
validUntil Instant
Expand Down

0 comments on commit 41edff0

Please sign in to comment.