diff --git a/src/caso-especial/entities/caso-especial.entity.ts b/src/caso-especial/entities/caso-especial.entity.ts index 757d5cb..aa55286 100644 --- a/src/caso-especial/entities/caso-especial.entity.ts +++ b/src/caso-especial/entities/caso-especial.entity.ts @@ -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;