1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/UserDTO.ts

14 lines
195 B
TypeScript
Raw Normal View History

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