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
RevLine 
[131]1class TaskProcedure {
2
[758]3    Task parentTask
4
[131]5    static hasMany = [tasks: Task, maintenanceActions: MaintenanceAction]
6
[758]7    static mappedBy = [tasks:"taskProcedure"]
8
[131]9//     static belongsTo = []
10
11    static constraints = {
12    }
13
14    String toString() {
[754]15        "${this.id}"
[131]16    }
17}
Note: See TracBrowser for help on using the repository browser.