Changeset 69 for branches/TaskRewrite/src/grails-app/domain
- Timestamp:
- Mar 9, 2009, 10:31:40 AM (16 years ago)
- Location:
- branches/TaskRewrite/src/grails-app/domain
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/domain/Task.groovy
r66 r69 2 2 TaskGroup taskGroup 3 3 TaskStatus taskStatus 4 TaskPriority taskPriority 5 TaskType taskType 6 Task parentTask 4 7 Person leadPerson 5 8 String description … … 11 14 boolean isActive = true 12 15 13 static hasMany = [entries: Entry, modifications: Modification, assignedPersons: Person] 16 static hasMany = [entries: Entry, 17 modifications: Modification, 18 assignedPersons: Person, 19 subTasks: Task] 14 20 15 static belongsTo = [TaskGroup, TaskStatus, Person]21 static belongsTo = [TaskGroup, TaskStatus, Task, Person] 16 22 17 23 static constraints = { … … 19 25 description(blank:false,maxSize:50) 20 26 leadPerson() 27 taskPriority() 21 28 taskStatus() 29 parentTask(blank: true, nullable:true) 22 30 comment(maxSize:255) 31 23 32 } 24 33
Note: See TracChangeset
for help on using the changeset viewer.