keys
This commit is contained in:
10
api/src/model/repositories/system.repository.ts
Normal file
10
api/src/model/repositories/system.repository.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { Repository, DataSource } from 'typeorm';
|
||||
import { KeySystem } from '../entitites/system.entity';
|
||||
|
||||
@Injectable()
|
||||
export class KeySystemRepository extends Repository<KeySystem> {
|
||||
constructor(dataSource: DataSource) {
|
||||
super(KeySystem, dataSource.createEntityManager());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user