and so it begins
This commit is contained in:
15
packages/logic/domains/product/repository.ts
Normal file
15
packages/logic/domains/product/repository.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Database } from "@pkg/db";
|
||||
|
||||
export class ProductRepository {
|
||||
private db: Database;
|
||||
|
||||
constructor(db: Database) {
|
||||
this.db = db;
|
||||
}
|
||||
|
||||
// TODO: compelte the crud method implementation
|
||||
async listAllProducts() {}
|
||||
async createProduct() {}
|
||||
async updateProduct() {}
|
||||
async deleteProduct() {}
|
||||
}
|
||||
Reference in New Issue
Block a user