se agregaron cambios
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user