49 lines
890 B
TypeScript
49 lines
890 B
TypeScript
import { Controller, Get, Post, Put } from '@nestjs/common';
|
|
import { PrestamoService } from './prestamo.service';
|
|
import {ApiTags} from '@nestjs/swagger'
|
|
|
|
@Controller('prestamo')
|
|
@ApiTags('prestamo')
|
|
export class PrestamoController {
|
|
constructor(private prestamoService: PrestamoService) {}
|
|
|
|
@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() {}
|
|
}
|