Changeset 837 for trunk/grails-app/domain
- Timestamp:
- Mar 3, 2011, 10:28:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Entry.groovy
r586 r837 3 3 Task task 4 4 EntryType entryType 5 ConditionSeverity highestSeverity 5 6 ProductionReference productionReference 6 7 … … 20 21 durationMinute(min:0,max:59) 21 22 productionReference(nullable: true) 23 // Nullable unless PM Entry Type. 24 highestSeverity(nullable:true, validator: {val, obj -> 25 if(val == null && (obj.entryType.id == 6)) 26 return 'not.nullable.for.pm.entry' 27 }) 22 28 } 23 29
Note: See TracChangeset
for help on using the changeset viewer.