source: branches/features/taskProcedureRework/grails-app/domain/TaskProcedure.groovy @ 758

Last change on this file since 758 was 758, checked in by gav, 13 years ago

Domain change, adjust TaskProcedure to Task relationship.

File size: 283 bytes
Line 
1class TaskProcedure {
2
3    Task parentTask
4
5    static hasMany = [tasks: Task, maintenanceActions: MaintenanceAction]
6
7    static mappedBy = [tasks:"taskProcedure"]
8
9//     static belongsTo = []
10
11    static constraints = {
12    }
13
14    String toString() {
15        "${this.id}"
16    }
17}
Note: See TracBrowser for help on using the repository browser.