source:
trunk/grails-app/domain/AssetType.groovy
@
158
Last change on this file since 158 was 124, checked in by , 15 years ago | |
---|---|
File size: 394 bytes |
Rev | Line | |
---|---|---|
[118] | 1 | class AssetType { |
[121] | 2 | |
[118] | 3 | String name |
4 | String description = "" | |
5 | boolean isActive = true | |
6 | ||
[122] | 7 | static hasMany = [assets: Asset, |
[124] | 8 | assemblies: Assembly, |
[122] | 9 | maintenanceActions: MaintenanceAction] |
[121] | 10 | |
[118] | 11 | // static belongsTo = [] |
[121] | 12 | |
[118] | 13 | // static constraints = { |
14 | // | |
15 | // } | |
16 | ||
17 | String toString() { | |
18 | "${this.name}" | |
19 | } | |
20 | } | |
21 |
Note: See TracBrowser
for help on using the repository browser.