Ignore:
Timestamp:
Jan 27, 2009, 11:02:59 PM (16 years ago)
Author:
gav
Message:

Setup Boostrap and DataSource? so that we have demo data in prod env for deployin
g demo. Adjust the entry domain and rebuild views and controller.

File:
1 edited

Legend:

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

    r25 r39  
    44    EntryType entryType
    55    Date date
    6     Integer duration
     6    Integer durationHours = 0
     7    Integer durationMinutes = 0
    78    String comments
    8 
    9     static hasMany = [persons: Person]
    109
    1110    static belongsTo = [EntryType, Task, Person]
    1211
    1312    static constraints = {
     13        task()
    1414        comments(maxSize:500)
     15        date()
     16        durationHours(min:0)
     17        durationMinutes(min:0,max:59)
     18       
    1519    }
    1620}
Note: See TracChangeset for help on using the changeset viewer.