class DocumentReference {

    String name
    String location

    Boolean toBeDeleted
    Boolean isNew
    static transients = [ 'toBeDeleted', 'isNew' ]

//     static hasMany = []

    static belongsTo = [TaskProcedure]

    static constraints = {
        name(blank:false,maxSize:75)
        location(blank:false,maxSize:500)
    }

    String toString() {
        "${this.name} - ${this.location}"
    }
}

