variables ids faltantes

This commit is contained in:
xXpuma99Xx
2022-10-24 07:52:28 -05:00
parent 45bec187f9
commit 866dd0cd42
14 changed files with 79 additions and 9 deletions
@@ -16,6 +16,12 @@ export class InstitucionPrograma {
@Column({ type: Boolean, nullable: false, default: false })
mostrar: boolean;
@Column({ type: Number, nullable: true })
id_institucion: number;
@Column({ type: Number, nullable: true })
id_programa: number;
@ManyToOne(() => Institucion, (institucion) => institucion.programas)
@JoinColumn({ name: 'id_institucion' })
institucion: Institucion;