variables ids faltantes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user