summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/domain/user-models.ice
blob: cf0a3869c5d8d5350732e0cc47fe8123c38d5a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GENTOO_USER_MODELS
#define GENTOO_USER_MODELS

module Gentoo {
	class User {
		int userid;
		string username;
		string userrealname;
		string useremail;
	};

	class NewUser extends User {
		string verifyguid;
	};

	exception InvalidCredentials { };
	exception DuplicateDetails { };
};

#endif