Changes in trunk/src/grails-app/domain/Entry.groovy [18:25]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Entry.groovy
r18 r25 2 2 Person person 3 3 Task task 4 Date dateTime 4 EntryType entryType 5 Date date 5 6 Integer duration 6 7 String comments … … 8 9 static hasMany = [persons: Person] 9 10 10 static belongsTo = [ TypeOfEntry, Task, Person]11 static belongsTo = [EntryType, Task, Person] 11 12 12 13 static constraints = { 13 person(blank:false) 14 task(blank:false) 15 dateTime(nullable:true) 16 duration(nullable:true) 17 comments(maxLength:500) 14 comments(maxSize:500) 18 15 } 19 16 }
Note: See TracChangeset
for help on using the changeset viewer.