source: trunk/grails-app/domain/Period.groovy @ 153

Last change on this file since 153 was 136, checked in by gav, 16 years ago

Work on TaskRecurringSchedule?.

File size: 331 bytes
Line 
1class Period {
2
3    String period
4    boolean isActive = true
5
6    static hasMany = [taskRecurringSchedules: TaskRecurringSchedule]
7   
8    static mappedBy = [taskRecurringSchedules:"recurPeriod"]
9
10//     static belongsTo = []
11
12//     static constraints = {
13//
14//     }
15
16    String toString() {
17        "${this.period}"
18    }
19}
20
Note: See TracBrowser for help on using the repository browser.