source:
trunk/grails-app/domain/Period.groovy
@
797
Last change on this file since 797 was 199, checked in by , 15 years ago | |
---|---|
File size: 195 bytes |
Rev | Line | |
---|---|---|
[122] | 1 | class Period { |
[131] | 2 | |
[122] | 3 | String period |
[118] | 4 | boolean isActive = true |
5 | ||
6 | // static belongsTo = [] | |
[136] | 7 | |
[118] | 8 | // static constraints = { |
9 | // | |
10 | // } | |
11 | ||
12 | String toString() { | |
[122] | 13 | "${this.period}" |
[118] | 14 | } |
15 | } | |
16 |
Note: See TracBrowser
for help on using the repository browser.