From 41edff0b92d0a2365831e2d06b92c0b57c2ec8b7 Mon Sep 17 00:00:00 2001 From: Sven Strittmatter Date: Wed, 18 May 2022 11:37:30 +0200 Subject: [PATCH] #8 Add field for German i18n in domain objects Signed-off-by: Sven Strittmatter --- teamDojo_v2.jdl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/teamDojo_v2.jdl b/teamDojo_v2.jdl index 646c1991..7d05dcad 100644 --- a/teamDojo_v2.jdl +++ b/teamDojo_v2.jdl @@ -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) @@ -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 } @@ -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) @@ -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) @@ -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