class Period {

    String period
    boolean isActive = true

    static hasMany = [taskRecurringSchedules: TaskRecurringSchedule]
    
    static mappedBy = [taskRecurringSchedules:"recurPeriod"]

//     static belongsTo = []

//     static constraints = {
// 
//     }

    String toString() {
        "${this.period}"
    }
}

