Last change
on this file since 188 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
|
Line | |
---|
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 | |
---|
14 | String toString() { |
---|
15 | "${this.name}" |
---|
16 | } |
---|
17 | } |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.