mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
11 lines
237 B
TypeScript
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){}
|
|
} |