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