35 lines
592 B
TypeScript
35 lines
592 B
TypeScript
import { Expose, Type } from 'class-transformer';
|
|
import { InstitucionCarreaOutputDto } from '../../../institucion-carrera/dto/output/institucion-carrera.dto';
|
|
import { TipoUsuarioOutputDto } from '../../../tipo-usuario/dto/output/tipo-usuario.dto';
|
|
|
|
export class UsuarioOutputDto {
|
|
@Expose()
|
|
activo;
|
|
|
|
@Expose()
|
|
correo;
|
|
|
|
@Expose()
|
|
id_usuario;
|
|
|
|
@Expose()
|
|
multa;
|
|
|
|
@Expose()
|
|
nombre;
|
|
|
|
@Expose()
|
|
telefono;
|
|
|
|
@Expose()
|
|
usuario;
|
|
|
|
@Expose()
|
|
@Type(() => InstitucionCarreaOutputDto)
|
|
institucionCarrera;
|
|
|
|
@Expose()
|
|
@Type(() => TipoUsuarioOutputDto)
|
|
tipoUsuario;
|
|
}
|