erp-construccion-backend/dist/modules/hr/entities/employee.entity.d.ts

47 lines
1.2 KiB
TypeScript

/**
* Employee Entity
* Empleados de la empresa
*
* @module HR
* @table hr.employees
* @ddl schemas/02-hr-schema-ddl.sql
*/
import { Tenant } from '../../core/entities/tenant.entity';
import { User } from '../../core/entities/user.entity';
import { Puesto } from './puesto.entity';
import { EmployeeFraccionamiento } from './employee-fraccionamiento.entity';
export type EstadoEmpleado = 'activo' | 'inactivo' | 'baja';
export type Genero = 'M' | 'F';
export declare class Employee {
id: string;
tenantId: string;
codigo: string;
nombre: string;
apellidoPaterno: string;
apellidoMaterno: string;
curp: string;
rfc: string;
nss: string;
fechaNacimiento: Date;
genero: Genero;
email: string;
telefono: string;
direccion: string;
fechaIngreso: Date;
fechaBaja: Date;
puestoId: string;
departamento: string;
tipoContrato: string;
salarioDiario: number;
estado: EstadoEmpleado;
fotoUrl: string;
createdAt: Date;
updatedAt: Date;
createdById: string;
tenant: Tenant;
puesto: Puesto;
createdBy: User;
asignaciones: EmployeeFraccionamiento[];
get nombreCompleto(): string;
}
//# sourceMappingURL=employee.entity.d.ts.map