mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 03:05:42 +00:00
17 lines
518 B
TypeScript
17 lines
518 B
TypeScript
import { BaseRepository } from '@edr/api-common';
|
|
import { Injectable } from '@nestjs/common';
|
|
import { InjectRepository } from '@nestjs/typeorm';
|
|
import { Repository } from 'typeorm';
|
|
|
|
import { TrainScheduleBooking } from './entities/train-schedule-booking.entity';
|
|
|
|
@Injectable()
|
|
export class TrainScheduleBookingsRepository extends BaseRepository<TrainScheduleBooking> {
|
|
constructor(
|
|
@InjectRepository(TrainScheduleBooking)
|
|
repository: Repository<TrainScheduleBooking>,
|
|
) {
|
|
super(repository);
|
|
}
|
|
}
|