Changeset 39 for trunk/src/grails-app/domain
- Timestamp:
- Jan 27, 2009, 11:02:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Entry.groovy
r25 r39 4 4 EntryType entryType 5 5 Date date 6 Integer duration 6 Integer durationHours = 0 7 Integer durationMinutes = 0 7 8 String comments 8 9 static hasMany = [persons: Person]10 9 11 10 static belongsTo = [EntryType, Task, Person] 12 11 13 12 static constraints = { 13 task() 14 14 comments(maxSize:500) 15 date() 16 durationHours(min:0) 17 durationMinutes(min:0,max:59) 18 15 19 } 16 20 }
Note: See TracChangeset
for help on using the changeset viewer.