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

12 lines
237 B
TypeScript

export enum UserRoles{
Guest = 1,
User = 2,
Admin = 3,
Developer = 4,
}
export class User {
constructor(public id?:number,public name?:string, public password?:string, public role:UserRoles = UserRoles.User){}
}