Ignore:
File:
1 edited

Legend:

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

    r18 r25  
    22    Person person
    33    Task task
    4     Date dateTime
     4    EntryType entryType
     5    Date date
    56    Integer duration
    67    String comments
     
    89    static hasMany = [persons: Person]
    910
    10     static belongsTo = [TypeOfEntry, Task, Person]
     11    static belongsTo = [EntryType, Task, Person]
    1112
    1213    static constraints = {
    13         person(blank:false)
    14         task(blank:false)
    15         dateTime(nullable:true)
    16         duration(nullable:true)
    17         comments(maxLength:500)
     14        comments(maxSize:500)
    1815    }
    1916}
Note: See TracChangeset for help on using the changeset viewer.