PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/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
 1package general
 2
 3class Rol {
 4
 5	String authority
 6
 7	static mapping = {
 8		cache true
 9	}
10
11	static constraints = {
12		authority blank: false, unique: true
13	}
14
15    String toString() {
16        return authority
17    }
18}