source: branches/features/taskProcedureRework/grails-app/domain/DocumentReference.groovy @ 793

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

Domain change, add DocumentReference.

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.