Last change
on this file since 156 was
122,
checked in by gav, 16 years ago
|
Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.
|
File size:
288 bytes
|
Rev | Line | |
---|
[121] | 1 | class MaintenancePolicy { |
---|
| 2 | |
---|
| 3 | String name |
---|
| 4 | String description = "" |
---|
| 5 | boolean isActive = true |
---|
| 6 | |
---|
| 7 | static hasMany = [maintenanceActions: MaintenanceAction] |
---|
| 8 | |
---|
| 9 | // static belongsTo = [] |
---|
| 10 | |
---|
| 11 | // static constraints = { |
---|
| 12 | // } |
---|
| 13 | |
---|
[122] | 14 | String toString() { |
---|
| 15 | "${this.name}" |
---|
| 16 | } |
---|
[121] | 17 | } |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.