21 lines
509 B
TypeScript
21 lines
509 B
TypeScript
/**
|
|
* UserRole Entity
|
|
* Relación usuarios-roles con soporte multi-tenant
|
|
*
|
|
* @module Auth
|
|
*/
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { Role } from './role.entity';
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
export declare class UserRole {
|
|
id: string;
|
|
userId: string;
|
|
roleId: string;
|
|
tenantId: string;
|
|
assignedBy: string;
|
|
assignedAt: Date;
|
|
user: User;
|
|
role: Role;
|
|
tenant: Tenant;
|
|
}
|
|
//# sourceMappingURL=user-role.entity.d.ts.map
|