prestamo terminado
This commit is contained in:
@@ -17,9 +17,12 @@ export class Prestamo {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number
|
||||
|
||||
@Column({ default: true })
|
||||
@Column({ default: false })
|
||||
activo: boolean
|
||||
|
||||
@Column({ default: true })
|
||||
reservado: boolean
|
||||
|
||||
@UpdateDateColumn()
|
||||
updatedAt: Date
|
||||
|
||||
@@ -28,6 +31,8 @@ export class Prestamo {
|
||||
|
||||
horaMaxEntrega: string
|
||||
|
||||
qr: string
|
||||
|
||||
@ManyToOne(
|
||||
(type) => Usuario,
|
||||
(usuario) => usuario.prestamos
|
||||
|
||||
Reference in New Issue
Block a user