first
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { BaseRepository } from "../../../common/base/repository";
|
||||
import { IContract } from "../models/Abstraction/IContract";
|
||||
import { ContractModel } from "../models/contract.model";
|
||||
|
||||
class ContractRepository extends BaseRepository<IContract> {
|
||||
constructor() {
|
||||
super(ContractModel);
|
||||
}
|
||||
}
|
||||
|
||||
function createContractRepository(): ContractRepository {
|
||||
return new ContractRepository();
|
||||
}
|
||||
|
||||
export { ContractRepository, createContractRepository };
|
||||
Reference in New Issue
Block a user