se agregaron cambios

This commit is contained in:
evenegas
2026-01-29 12:09:40 -06:00
parent a387f11302
commit 3ef076111e
3 changed files with 14 additions and 9 deletions
@@ -17,6 +17,11 @@ import { Status } from 'src/status/entities/status.entity';
import { FilterCasoEspecialDto } from './dto/filter-caso-especial.dto';
import { arch } from 'os';
import { SendMailDto } from 'src/helpers.services/dto/send-email.dto';
const {
terminoValidado
} = require('./../helpers.services/msjCorreos');
@Injectable()
export class CasoEspecialService {
@@ -14,15 +14,15 @@ export class UpdateCasoEspecialDto {
@IsOptional()
@IsDateString()
fechaInicio?: Date;
fechaInicio?: string;
@IsOptional()
@IsDateString()
fechaFin?: Date;
fechaFin?: string;
@IsOptional()
@IsDateString()
fechaNacimiento?: Date;
fechaNacimiento?: string;
@IsOptional()
@IsString()
@@ -38,14 +38,14 @@ export class CasoEspecial {
@Column({ name: 'direccion', type: 'varchar', length: 200, nullable: false })
direccion: string;
@Column({ name: 'fechaInicio', type: 'datetime', nullable: false })
fechaInicio: Date;
@Column({ name: 'fechaInicio', type: 'date', nullable: false })
fechaInicio: string;
@Column({ name: 'fechaFin', type: 'datetime', nullable: false })
fechaFin: Date;
@Column({ name: 'fechaFin', type: 'date', nullable: false })
fechaFin: string;
@Column({ name: 'fechaNacimiento', type: 'datetime', nullable: false })
fechaNacimiento: Date;
@Column({ name: 'fechaNacimiento', type: 'date', nullable: false })
fechaNacimiento: string;
@Column({ name: 'carpeta', type: 'varchar', length: 60, nullable: false })
carpeta: string;