21 lines
464 B
TypeScript
21 lines
464 B
TypeScript
/**
|
|
* Role Entity
|
|
* Roles del sistema para RBAC
|
|
*
|
|
* @module Auth
|
|
*/
|
|
import { Permission } from './permission.entity';
|
|
import { UserRole } from './user-role.entity';
|
|
export declare class Role {
|
|
id: string;
|
|
code: string;
|
|
name: string;
|
|
description: string;
|
|
isSystem: boolean;
|
|
isActive: boolean;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
permissions: Permission[];
|
|
userRoles: UserRole[];
|
|
}
|
|
//# sourceMappingURL=role.entity.d.ts.map
|