source: trunk/grails-app/domain/DocumentReference.groovy @ 798

Last change on this file since 798 was 798, checked in by gav, 13 years ago

Svn merge -r752:r797 branches/features/taskProcedureRework into trunk/.

File size: 414 bytes
Line 
1class DocumentReference {
2
3    String name
4    String location
5
6    Boolean toBeDeleted
7    Boolean isNew
8    static transients = [ 'toBeDeleted', 'isNew' ]
9
10//     static hasMany = []
11
12    static belongsTo = [TaskProcedure]
13
14    static constraints = {
15        name(blank:false,maxSize:75)
16        location(blank:false,maxSize:500)
17    }
18
19    String toString() {
20        "${this.name} - ${this.location}"
21    }
22}
23
Note: See TracBrowser for help on using the repository browser.