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-03-19 17:31:42 +01:00

11 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 email?:string, public password?:string, public role?:UserRoles){}
}