Commit b0bc704 1 parent e957a95 commit b0bc704 Copy full SHA for b0bc704
File tree 1 file changed +6
-1
lines changed
grails-app/domain/au/org/ala/ecodata
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ class Score {
13
13
/* * The label for this score when displayed */
14
14
String label
15
15
16
+ /* * Unique human name for this score to be used as a more descriptive alternative to the scoreId in forms/configuration. Must be unique if present */
17
+ String name
18
+
16
19
/* * A more detailed description of the score and how it should be interpreted */
17
20
String description
18
21
@@ -53,6 +56,7 @@ class Score {
53
56
tags : nullable :true
54
57
label unique : true
55
58
scoreId unique : true
59
+ name nullable : true , unique : true
56
60
}
57
61
58
62
static mapping = {
@@ -88,7 +92,8 @@ class Score {
88
92
entity :entity,
89
93
externalId :externalId,
90
94
entityTypes :entityTypes,
91
- tags :tags
95
+ tags :tags,
96
+ name :name
92
97
]
93
98
if (includeConfig) {
94
99
scoreMap. configuration = configuration
You can’t perform that action at this time.
0 commit comments