2016-12-27 23:09:47 +08:00
|
|
|
export enum UserRoles{
|
2017-06-11 04:32:56 +08:00
|
|
|
Guest = 1,
|
|
|
|
User = 2,
|
|
|
|
Admin = 3,
|
|
|
|
Developer = 4,
|
2016-12-27 23:09:47 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserDTO {
|
2017-06-11 04:32:56 +08:00
|
|
|
id: number;
|
|
|
|
name: string;
|
|
|
|
password: string;
|
|
|
|
role: UserRoles;
|
|
|
|
}
|