cargamasviva

This commit is contained in:
arturo
2020-08-18 11:13:12 -05:00
parent afac668378
commit a4709ec7d1
118 changed files with 18679 additions and 259 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Entity, OneToMany } from 'typeorm'
import { Catalogo } from './Catalogo'
import { Prestamo } from './Prestamo'
@Entity()
export class Mesa extends Catalogo {
@OneToMany(
(type) => Prestamo,
(prestamo) => prestamo.mesa
)
prestamos: Prestamo[]
}