listo insittucion#
This commit is contained in:
parent
f8421f204a
commit
32f3cc2943
@ -14,7 +14,7 @@ export class Institucion {
|
||||
@Column({ type: Number, nullable: false, default: 7 })
|
||||
dias_multa_retraso: number;
|
||||
|
||||
@Column({ type: String, nullable: false })
|
||||
@Column({ type: String, nullable: false, length: 150 })
|
||||
institucion: string;
|
||||
|
||||
@Column({ type: String, nullable: false, length: 50 })
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { Controller, Get, Put } from '@nestjs/common';
|
||||
import { InstitucionService } from './institucion.service';
|
||||
|
||||
@Controller('institucion')
|
||||
@ -9,4 +9,7 @@ export class InstitucionController {
|
||||
get() {
|
||||
return this.institucionService.findAll();
|
||||
}
|
||||
|
||||
@Put()
|
||||
update() {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user