32 lines
648 B
TypeScript
32 lines
648 B
TypeScript
/**
|
|
* User Entity
|
|
* Entidad de usuarios del sistema
|
|
*
|
|
* @module Core
|
|
* @table core.users
|
|
*/
|
|
import { Tenant } from './tenant.entity';
|
|
export declare class User {
|
|
id: string;
|
|
tenantId: string;
|
|
email: string;
|
|
username: string;
|
|
passwordHash: string;
|
|
firstName: string;
|
|
lastName: string;
|
|
roles: string[];
|
|
isActive: boolean;
|
|
lastLoginAt: Date;
|
|
defaultTenantId: string;
|
|
deletedAt: Date;
|
|
userRoles?: {
|
|
role: {
|
|
code: string;
|
|
};
|
|
}[];
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
tenant: Tenant;
|
|
get fullName(): string;
|
|
}
|
|
//# sourceMappingURL=user.entity.d.ts.map
|