diff --git a/backend/src/main/java/org/example/backend/reservation/domain/Reservation.java b/backend/src/main/java/org/example/backend/reservation/domain/Reservation.java index e82bcb1..a073d54 100644 --- a/backend/src/main/java/org/example/backend/reservation/domain/Reservation.java +++ b/backend/src/main/java/org/example/backend/reservation/domain/Reservation.java @@ -53,6 +53,7 @@ public class Reservation extends BaseEntity { @Column(name = "password") private String password; + public boolean isPasswordMatch(String inputPassword) { return this.password.equals(inputPassword); }