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

Last change on this file since 34 was 25, checked in by gavin, 16 years ago

Add to BootStrap?, work on Domain classes update ERD to match, again.

File size: 282 bytes
Line 
1class Entry {
2    Person person
3    Task task
4    EntryType entryType
5    Date date
6    Integer duration
7    String comments
8
9    static hasMany = [persons: Person]
10
11    static belongsTo = [EntryType, Task, Person]
12
13    static constraints = {
14        comments(maxSize:500)
15    }
16}
17
Note: See TracBrowser for help on using the repository browser.