Commit f69e5a65 authored by Florian Fittkau's avatar Florian Fittkau

user table custom name

parent 252f966a
......@@ -10,5 +10,13 @@ class User {
username(nullable: false, blank: false, unique: true)
}
static mapping = {
table 'userCustom'
}
def hasRole(Role r) {
roles.contains(r)
}
def String toString() {username};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment