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

@Entity()
export class Parte extends Catalogo {
  @OneToMany(
    (type) => Reporte,
    (reporte) => reporte.parte
  )
  reportes: Reporte[]
}
