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

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

First commit of Asset domain, including domain-classes, controllers, views and bootstrap.

File size: 329 bytes
Line 
1class ComponentItem {
2    LifePlan lifeplan
3    String name
4    String description = ""
5    Integer fmeaNumber
6    boolean isActive = true
7
8    static hasMany = [subAssemblies: SubAssembly]
9
10    static belongsTo = [SubAssembly]
11
12//     static constraints = {
13//
14//     }
15
16    String toString() {
17        "${this.name}"
18    }
19}
20
Note: See TracBrowser for help on using the repository browser.