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

@Entity()
export class Adscripcion extends Catalogo {
  @ManyToOne(
    (type) => Reservacion,
    (reservacion) => reservacion.adscripcion
  )
  reservaciones: Reservacion[];
}
