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

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

Work on TaskRecurringSchedule?.

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