source:
trunk/grails-app/domain/AssetType.groovy
@
149
Last change on this file since 149 was 124, checked in by , 16 years ago | |
---|---|
File size: 394 bytes |
Line | |
---|---|
1 | class AssetType { |
2 | |
3 | String name |
4 | String description = "" |
5 | boolean isActive = true |
6 | |
7 | static hasMany = [assets: Asset, |
8 | assemblies: Assembly, |
9 | maintenanceActions: MaintenanceAction] |
10 | |
11 | // static belongsTo = [] |
12 | |
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.