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
Line 
1class SubAssembly {
2
3    Assembly assembly
4
5    String name
6    String description = ""
7    boolean isActive = true
8
9    static hasMany = [componentItems: ComponentItem,
10                                    maintenanceActions: MaintenanceAction]
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.