Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/domain/Entry.groovy

    r25 r18  
    22    Person person
    33    Task task
    4     EntryType entryType
    5     Date date
     4    Date dateTime
    65    Integer duration
    76    String comments
     
    98    static hasMany = [persons: Person]
    109
    11     static belongsTo = [EntryType, Task, Person]
     10    static belongsTo = [TypeOfEntry, Task, Person]
    1211
    1312    static constraints = {
    14         comments(maxSize:500)
     13        person(blank:false)
     14        task(blank:false)
     15        dateTime(nullable:true)
     16        duration(nullable:true)
     17        comments(maxLength:500)
    1518    }
    1619}
Note: See TracChangeset for help on using the changeset viewer.