Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Add CartDAOMySQLImpl class, implement CartDAO interface
Browse files Browse the repository at this point in the history
Signed-off-by: Minh Vương <hardingadonis@gmail.com>
  • Loading branch information
hardingadonis committed Nov 9, 2023
1 parent 8b2cd90 commit 3bb7705
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/hardingadonis/r7/services/Singleton.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class Singleton {
public static DBContext dbContext;

public static AdminDAO adminDAO;

public static CartDAO cartDAO;

public static CategoryDAO categoryDAO;

Expand All @@ -20,6 +22,8 @@ public class Singleton {
dbContext = new DBContextMySQLImpl();

adminDAO = new AdminDAOMySQLImpl();

cartDAO = new CartDAOMySQLImpl();

categoryDAO = new CategoryDAOMySQLImpl();

Expand Down

0 comments on commit 3bb7705

Please sign in to comment.