blob: 7e2d4f29a7af1b50b8f8df78d84685f83e748dcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef GENTOO_USER_MODELS
#define GENTOO_USER_MODELS
[ "slicer:include:boost/date_time/posix_time/posix_time.hpp" ]
module Gentoo {
class User {
int userid;
string username;
string userrealname;
string useremail;
[ "slicer:conversion:boost.posix_time.ptime:boost.posix_time.to_iso_extended_string:boost.posix_time.time_from_string:nodeclare" ]
string signedup;
[ "slicer:conversion:boost.posix_time.ptime:boost.posix_time.to_iso_extended_string:boost.posix_time.time_from_string:nodeclare" ]
optional(0) string lastmailshot;
};
class NewUser extends User {
string verifyguid;
};
exception InvalidCredentials { };
exception DuplicateDetails { };
};
#endif
|