source: trunk/grails-app/domain/RecurringSchedule.groovy @ 122

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

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

File size: 398 bytes
Line 
1class RecurringSchedule {
2
3    Task task
4    Period period
5    PlannedMaintenance plannedMaintenance
6
7    Integer recurEvery
8    Date startDate = new Date()
9    boolean isActive = true
10
11//     static hasMany = []
12
13    static belongsTo = [Task]
14
15    static constraints = {
16        plannedMaintenance(blank:true, nullable:true)
17    }
18
19//     String toString() {
20//         "${this.name}"
21//     }
22}
23
Note: See TracBrowser for help on using the repository browser.