source:
trunk/grails-app/domain/SubAssembly.groovy
@
213
Last change on this file since 213 was 131, checked in by , 15 years ago | |
---|---|
File size: 381 bytes |
Line | |
---|---|
1 | class 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.