2022-04-17 22:51:49 -05:00
|
|
|
import { Controller, Get, Post, Put } from '@nestjs/common';
|
2022-04-04 20:53:32 -05:00
|
|
|
import { PrestamoService } from './prestamo.service';
|
2022-04-30 21:18:19 -05:00
|
|
|
import {ApiTags} from '@nestjs/swagger'
|
2022-03-29 22:03:19 -06:00
|
|
|
|
|
|
|
|
@Controller('prestamo')
|
2022-05-30 16:02:01 -05:00
|
|
|
// @ApiTags('prestamo')
|
2022-04-04 20:53:32 -05:00
|
|
|
export class PrestamoController {
|
|
|
|
|
constructor(private prestamoService: PrestamoService) {}
|
2022-04-17 22:51:49 -05:00
|
|
|
|
|
|
|
|
@Get('activos')
|
|
|
|
|
activos() {}
|
|
|
|
|
|
|
|
|
|
@Put('cancelar_operador')
|
|
|
|
|
cancelarOperador() {}
|
|
|
|
|
|
|
|
|
|
@Put('cancelar_usuario')
|
|
|
|
|
cancelarUsuario() {}
|
|
|
|
|
|
|
|
|
|
@Put('entregar')
|
|
|
|
|
entregar() {}
|
|
|
|
|
|
|
|
|
|
@Get('historial')
|
|
|
|
|
historial() {}
|
|
|
|
|
|
|
|
|
|
@Get('historial_equipo')
|
|
|
|
|
historialEquipo() {}
|
|
|
|
|
|
|
|
|
|
@Get('historial_usuario')
|
|
|
|
|
historialUsuario() {}
|
|
|
|
|
|
|
|
|
|
@Post()
|
|
|
|
|
pedir() {}
|
|
|
|
|
|
|
|
|
|
@Get('prestamo_id_prestamo')
|
|
|
|
|
prestamoIdPrestamo() {}
|
|
|
|
|
|
|
|
|
|
@Get('prestamo_id_usuario')
|
|
|
|
|
prestamoIdUsuario() {}
|
|
|
|
|
|
|
|
|
|
@Get('prestamo_numero_inventario')
|
|
|
|
|
prestamoNumeroInventario() {}
|
|
|
|
|
|
|
|
|
|
@Put('regresar')
|
|
|
|
|
regresar() {}
|
|
|
|
|
|
|
|
|
|
@Get('reporte')
|
|
|
|
|
reporte() {}
|
2022-04-04 20:53:32 -05:00
|
|
|
}
|