Changeset 25 for trunk/src/grails-app/domain
- Timestamp:
- Jan 20, 2009, 8:08:17 PM (16 years ago)
- Location:
- trunk/src/grails-app/domain
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Entry.groovy
r21 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 … … 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 } -
trunk/src/grails-app/domain/EntryType.groovy
r21 r25 1 1 class EntryType { 2 Entry entry3 2 String name 4 3 String description = "" 5 boolean isActive 4 boolean isActive = true 6 5 7 static belongsTo = Entry6 static hasMany = [entries: Entry] 8 7 9 8 static contstraints = { 10 entry()11 name(blank:false)12 description()13 isActive()14 9 } 15 10 -
trunk/src/grails-app/domain/ModificationType.groovy
r21 r25 7 7 8 8 static constraints = { 9 name()10 description()11 isActive()12 9 } 13 10 -
trunk/src/grails-app/domain/TaskGroup.groovy
r19 r25 2 2 String name 3 3 String description 4 boolean isActive 4 boolean isActive = true 5 5 6 6 static hasMany = [tasks : Task]
Note: See TracChangeset
for help on using the changeset viewer.