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