source: trunk/grails-app/domain/ComponentItem.groovy @ 166

Last change on this file since 166 was 131, checked in by gav, 15 years ago

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

File size: 325 bytes
RevLine 
[118]1class ComponentItem {
[122]2
[131]3    SubAssembly subAssembly
4
[118]5    String name
6    String description = ""
7    boolean isActive = true
8
[131]9    static hasMany = [maintenanceActions: MaintenanceAction]
[118]10
11    static belongsTo = [SubAssembly]
12
13//     static constraints = {
14//
15//     }
16
17    String toString() {
18        "${this.name}"
19    }
20}
21
Note: See TracBrowser for help on using the repository browser.