11 lines
375 B
TypeScript
11 lines
375 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { Repository, DataSource } from 'typeorm';
|
|
import { KeyHandoutPdfDataEntity } from '../entitites';
|
|
|
|
@Injectable()
|
|
export class KeyHandoutPdfDataEntityRepository extends Repository<KeyHandoutPdfDataEntity> {
|
|
constructor(dataSource: DataSource) {
|
|
super(KeyHandoutPdfDataEntity, dataSource.createEntityManager());
|
|
}
|
|
}
|