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