first
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { BaseRepository } from "../../../common/base/repository";
|
||||
import { IWallet } from "../models/abstraction/IWallet";
|
||||
import { WalletModel } from "../models/wallet.model";
|
||||
|
||||
class WalletRepo extends BaseRepository<IWallet> {
|
||||
constructor() {
|
||||
super(WalletModel);
|
||||
}
|
||||
}
|
||||
|
||||
function createWalletRepo(): WalletRepo {
|
||||
return new WalletRepo();
|
||||
}
|
||||
|
||||
export { WalletRepo, createWalletRepo };
|
||||
Reference in New Issue
Block a user