Last change
on this file since 149 was
121,
checked in by gav, 16 years ago
|
Extensive update to Asset ERD and associated domain classes, not compiled or tested.
|
File size:
323 bytes
|
Line | |
---|
1 | class SystemSection { |
---|
2 | |
---|
3 | Site site |
---|
4 | |
---|
5 | String name |
---|
6 | String description = "" |
---|
7 | boolean isActive = true |
---|
8 | |
---|
9 | static hasMany = [assets: Asset, maintenanceActions: MaintenanceAction] |
---|
10 | |
---|
11 | static belongsTo = [Site] |
---|
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.