source:
trunk/grails-app/domain/SystemSection.groovy
@
194
| Last change on this file since 194 was 162, checked in by , 16 years ago | |
|---|---|
| File size: 370 bytes | |
| Rev | Line | |
|---|---|---|
| [118] | 1 | class SystemSection { |
| [162] | 2 | |
| [121] | 3 | Site site |
| [162] | 4 | Department department |
| [121] | 5 | |
| [118] | 6 | String name |
| 7 | String description = "" | |
| [162] | 8 | String costCode = "" |
| [118] | 9 | boolean isActive = true |
| 10 | ||
| [121] | 11 | static hasMany = [assets: Asset, maintenanceActions: MaintenanceAction] |
| 12 | ||
| 13 | static belongsTo = [Site] | |
| 14 | ||
| [118] | 15 | // static constraints = { |
| 16 | // | |
| 17 | // } | |
| 18 | ||
| 19 | String toString() { | |
| 20 | "${this.name}" | |
| 21 | } | |
| 22 | } | |
| 23 |
Note: See TracBrowser
for help on using the repository browser.
