source: trunk/src/grails-app/domain/Entry.groovy @ 16

Last change on this file since 16 was 16, checked in by tuxta, 15 years ago

Created grails app and init domain classes

File size: 331 bytes
Line 
1class Entry {
2    Person person
3    Task task
4    Date dateTime
5    Integer duration
6    String comments
7
8    static hasMany = [people: Person]
9
10    static constraints = {
11        person(blank:false)
12        task(blank:false)
13        dateTime(nullable:true)
14        duration(nullable:true)
15        comments(maxLength:500)
16    }
17}
18
Note: See TracBrowser for help on using the repository browser.