Changeset 93 for trunk/src/grails-app/domain
- Timestamp:
- Mar 29, 2009, 11:56:11 PM (16 years ago)
- Location:
- trunk/src/grails-app/domain
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Person.groovy
r73 r93 3 3 static hasMany = [authorities: Authority, 4 4 personGroups: PersonGroup, 5 modifications:Modification,5 taskModifications: TaskModification, 6 6 entries: Entry, 7 7 tasks: Task] -
trunk/src/grails-app/domain/Task.groovy
r91 r93 15 15 16 16 static hasMany = [entries: Entry, 17 modifications:Modification,17 taskModifications: TaskModification, 18 18 assignedPersons: Person, 19 19 subTasks: Task] -
trunk/src/grails-app/domain/TaskModification.groovy
r92 r93 1 class Modification {1 class TaskModification { 2 2 Person person 3 ModificationType modificationType3 TaskModificationType taskModificationType 4 4 Task task 5 5 Date date = new Date() 6 6 String comment 7 7 8 static belongsTo = [Person, ModificationType, Task]8 static belongsTo = [Person, TaskModificationType, Task] 9 9 10 10 static constraints = { 11 11 person() 12 modificationType()12 taskModificationType() 13 13 task() 14 14 date() -
trunk/src/grails-app/domain/TaskModificationType.groovy
r92 r93 1 class ModificationType {1 class TaskModificationType { 2 2 String name 3 3 String description = "" 4 4 boolean isActive = true 5 5 6 static hasMany = [ modifications :Modification]6 static hasMany = [taskModifications : TaskModification] 7 7 8 8 static constraints = {
Note: See TracChangeset
for help on using the changeset viewer.