Changeset 167 for trunk/grails-app/domain
- Timestamp:
- Oct 26, 2009, 3:16:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Authority.groovy
r147 r167 1 1 class Authority { 2 2 3 3 static hasMany = [persons: Person] 4 4 5 6 7 8 5 /** description */ 6 String description 7 /** ROLE String */ 8 String authority 9 9 10 11 12 13 10 static constraints = { 11 authority(blank: false, unique: true) 12 description() 13 } 14 14 15 15 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.