UNPKG

lynx-framework

Version:

lynx is a NodeJS framework for Web Development, based on decorators and the async/await support.

15 lines (14 loc) 399 B
import BaseEntity from './base.entity'; import User from './user.entity'; export default class Role extends BaseEntity { static readonly ADMIN = "admin"; static readonly ADMIN_LEVEL = 1000; static readonly STAFF = "staff"; static readonly STAFF_LEVEL = 500; id: number; name: string; readableName: string; description: string; level: number; users: User[]; }