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

12 lines
237 B
TypeScript
Raw Normal View History

export enum UserRoles{
Guest = 1,
User = 2,
Admin = 3,
Developer = 4,
}
export class User {
2016-05-05 00:57:31 +08:00
constructor(public id?:string,public name?:string, public password?:string, public role:UserRoles = UserRoles.User){}
2016-03-13 05:19:24 +08:00
}