source:
trunk/src/grails-app/domain/ModificationType.groovy
@
21
Last change on this file since 21 was 21, checked in by , 15 years ago | |
---|---|
File size: 284 bytes |
Line | |
---|---|
1 | class ModificationType { |
2 | String name |
3 | String description |
4 | boolean isActive |
5 | |
6 | static hasMany = [modifications : Modification] |
7 | |
8 | static constraints = { |
9 | name() |
10 | description() |
11 | isActive() |
12 | } |
13 | |
14 | String toString() { |
15 | "${this.name}" |
16 | } |
17 | } |
Note: See TracBrowser
for help on using the repository browser.