source: trunk/grails-app/domain/AssignedGroup.groovy @ 754

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

Re-implement AssignedGroups along side AssignedPersons manually taking the good stuff from r240.
As per revised ticket #37.

File size: 372 bytes
Line 
1class AssignedGroup {
2
3    PersonGroup personGroup
4    Task task
5    Integer estimatedHour = 0
6    Integer estimatedMinute = 0
7
8    static constraints = {
9        task()
10        personGroup()
11        estimatedHour(min:0)
12        estimatedMinute(min:0,max:59)
13    }
14
15    String toString() {
16        "${personGroup.name} - ${estimatedHour}h : ${estimatedMinute}min"
17    }
18}
Note: See TracBrowser for help on using the repository browser.