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