1. Robert MacGregor
  2. Texa

Source

Texa / grails-app / domain / com / koyanainc / bc / Project.groovy

package com.koyanainc.bc


class Project {

    String name
    Date createdOn = new Date()

    String status = "active"
    Date lastChangedOn = new Date()

    ResponsibleParty company

    String announcement = ""
    Boolean showAnnouncement = false

    String startPage = "www.default-start-page.com"
    Boolean showWriteboards = false

    static hasMany = [participants:Person, todoLists:TodoList]


    static constraints = {
        //name(blank:false)
        //lastChangedOn(nullable:true)
        //company(nullable:false)
    }

    String toString()
    {
        name
    }


     static mapping = {
        id generator: 'assigned'

    }

}