source: trunk/grails-app/domain/SubAssembly.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: 381 bytes
RevLine 
[118]1class SubAssembly {
[121]2
[131]3    Assembly assembly
4
[118]5    String name
6    String description = ""
7    boolean isActive = true
8
[131]9    static hasMany = [componentItems: ComponentItem,
10                                    maintenanceActions: MaintenanceAction]
[118]11
12    static belongsTo = [Assembly]
13
14//     static constraints = {
15//
16//     }
17
18    String toString() {
19        "${this.name}"
20    }
21}
22
Note: See TracBrowser for help on using the repository browser.