reservacion

This commit is contained in:
arturo
2020-09-03 01:45:50 -05:00
parent 952a8809c2
commit 517ba8a93e
45 changed files with 4999 additions and 218 deletions
+7
View File
@@ -11,6 +11,7 @@ import { Reporte } from './Reporte'
import { Equipo } from './Equipo'
import { Mesa } from './Mesa'
import { Operador } from './Operador'
import { Horario } from './Horario'
@Entity()
export class Prestamo {
@@ -67,5 +68,11 @@ export class Prestamo {
(type) => Operador,
(operador) => operador.regresos
)
@ManyToOne(
(type) => Horario,
(horario) => horario.prestamos
)
horario: Horario
operadorRegreso: Operador
}