mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 11:21:18 +00:00
17 lines
445 B
TypeScript
17 lines
445 B
TypeScript
import { BaseRepository } from '@edr/api-common';
|
|
import { Injectable } from '@nestjs/common';
|
|
import { InjectRepository } from '@nestjs/typeorm';
|
|
import { Repository } from 'typeorm';
|
|
|
|
import { TrainSet } from './entities/train-set.entity';
|
|
|
|
@Injectable()
|
|
export class TrainSetsRepository extends BaseRepository<TrainSet> {
|
|
constructor(
|
|
@InjectRepository(TrainSet)
|
|
repository: Repository<TrainSet>,
|
|
) {
|
|
super(repository);
|
|
}
|
|
}
|