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

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

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

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