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

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

Remove TypeOfClass? and change to ClassType?. Update ERD to match.
Create and add openMimLogo/Icon.
Generate-all *.
Configure BootStrap? and add entries, some not saving yet.
Update DatabaseDesign?.tex and index.gsp

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