institucion correo

This commit is contained in:
2022-07-11 02:34:03 -05:00
parent 7fce543b92
commit 482c8550d1
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -1,5 +1,6 @@
import {
IsBoolean,
IsEmail,
IsInt,
IsNumber,
IsOptional,
@@ -14,6 +15,10 @@ export class UpdateInstitucionDto {
@IsOptional()
activo?: boolean;
@IsEmail()
@IsOptional()
correo?: number;
@IsNumber()
@IsOptional()
dias_multa_retraso?: number;
@@ -19,6 +19,9 @@ export class Institucion {
@Column({ type: String, nullable: true, length: 4 })
clave: string;
@Column({ type: String, nullable: false, length: 60, default: '' })
correo: string;
@Column({ type: Number, nullable: false, default: 7 })
dias_multa_retraso: number;