import { Entity, OneToMany } from 'typeorm'
import { Catalogo } from './Catalogo'
import { Reservacion } from './Reservacion'

@Entity()
export class Actividad extends Catalogo {
  @OneToMany(
    (type) => Reservacion,
    (reservacion) => reservacion.actividad
  )
  reservaciones: Reservacion[]
}
