working on account registration and more

This commit is contained in:
Torkel Ödegaard
2014-08-22 18:05:37 +02:00
parent c684b1ddab
commit 31fe471da5
9 changed files with 137 additions and 30 deletions

View File

@@ -21,6 +21,26 @@ type Dashboard struct {
Data map[string]interface{}
}
type UserAccountLink struct {
UserId int
Role string
ModifiedOn time.Time
CreatedOn time.Time
}
type UserAccount struct {
DatabaseId int `gorethink:"id"`
UserName string
Login string
Email string
Password string
NextDashboardId int
UsingAccountId int
GrantedAccess []UserAccountLink
CreatedOn time.Time
ModifiedOn time.Time
}
type UserContext struct {
UserId string
AccountId string