Changeset 18 for trunk/src/grails-app
- Timestamp:
- Nov 25, 2008, 1:22:58 PM (16 years ago)
- Location:
- trunk/src/grails-app/domain
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Entry.groovy
r16 r18 6 6 String comments 7 7 8 static hasMany = [people: Person] 8 static hasMany = [persons: Person] 9 10 static belongsTo = [TypeOfEntry, Task, Person] 9 11 10 12 static constraints = { -
trunk/src/grails-app/domain/Modification.groovy
r16 r18 15 15 comments() 16 16 } 17 18 static optionals = ["comments"] 17 19 } -
trunk/src/grails-app/domain/Person.groovy
r16 r18 1 1 class Person { 2 PersonGroup personGroup 2 3 String firstName 3 4 String lastName … … 6 7 7 8 static hasMany = [modifications : Modification, 8 entries : Entry] 9 entries : Entry, tasks : Task, 10 personGroups : PersonGroup] 9 11 10 static belongsTo = Entry12 static belongsTo = [PersonGroup] 11 13 12 14 static optionals = ["employeeID"] -
trunk/src/grails-app/domain/Task.groovy
r16 r18 1 1 class Task { 2 2 TaskGroup taskGroup 3 Person person 3 4 String name 4 5 String description 6 Date scheduledDate 7 Date targetDate 5 8 6 static hasMany = [entries 9 static hasMany = [entries: Entry, modifications : Modification] 7 10 8 static belongsTo = TaskGroup11 static belongsTo = [TaskGroup, Person] 9 12 10 13 static constraints = { -
trunk/src/grails-app/domain/TaskGroup.groovy
r16 r18 2 2 String name 3 3 String description 4 boolean isActive 4 5 5 6 static hasMany = [tasks : Task] -
trunk/src/grails-app/domain/TypeOfModification.groovy
r16 r18 6 6 static hasMany = [modifications : Modification] 7 7 8 static constraints = { 9 name() 10 description() 11 isActive() 12 } 8 13 }
Note: See TracChangeset
for help on using the changeset viewer.