organiar dtos mal acomodados
This commit is contained in:
@@ -4,6 +4,14 @@ export class InstitucionUpdateDto {
|
||||
@IsInt()
|
||||
id_institucion: number;
|
||||
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
dias_multa_retraso: number;
|
||||
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
tiempo_entrega: number;
|
||||
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
tiempo_prestamo: number;
|
||||
@@ -11,8 +19,4 @@ export class InstitucionUpdateDto {
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
tiempo_recoger: number;
|
||||
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
dias_multa_retraso: number;
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ export class ModuloUpdateDto {
|
||||
@IsInt()
|
||||
id_modulo: number;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
modulo?: string;
|
||||
|
||||
@IsBoolean()
|
||||
@IsOptional()
|
||||
activo?: boolean;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
modulo?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user