/grails-app/domain/general/Rol.groovy
http://github.com/jdmr/mateo · Groovy · 18 lines · 13 code · 5 blank · 0 comment · 0 complexity · e18d8ca94253f137eee7042b1b02fc9f MD5 · raw file
- package general
- class Rol {
- String authority
- static mapping = {
- cache true
- }
- static constraints = {
- authority blank: false, unique: true
- }
- String toString() {
- return authority
- }
- }