Define the static values for the user type.

This commit is contained in:
takezoe
2013-06-04 01:48:15 +09:00
parent a6ea5468c7
commit 13c3997c63
2 changed files with 18 additions and 1 deletions

View File

@@ -10,3 +10,10 @@ trait AccountService {
Query(Accounts) filter(_.userName is userName.bind) firstOption
}
object AccountService {
val Normal = 0
val Administrator = 1
}