2022-04-18 03:51:49 +00:00
|
|
|
import { Controller, Get, Post, Put } from '@nestjs/common';
|
2022-04-05 01:53:32 +00:00
|
|
|
import { PrestamoService } from './prestamo.service';
|
2022-05-01 02:18:19 +00:00
|
|
|
import {ApiTags} from '@nestjs/swagger'
|
2022-03-30 04:03:19 +00:00
|
|
|
|
|
|
|
@Controller('prestamo')
|
2022-05-01 02:18:19 +00:00
|
|
|
@ApiTags('prestamo')
|
2022-04-05 01:53:32 +00:00
|
|
|
export class PrestamoController {
|
|
|
|
constructor(private prestamoService: PrestamoService) {}
|
2022-04-18 03:51:49 +00: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-05 01:53:32 +00:00
|
|
|
}
|