Skip to content

Commit

Permalink
Merge pull request #13 from dev-hooon/fix/#12
Browse files Browse the repository at this point in the history
fix : SQL 예약어 관련 오류 수정
  • Loading branch information
dlswns2480 authored Dec 21, 2023
2 parents 99e73d0 + 4ca4fc2 commit d8f2c4e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class Waiting extends BaseEntity {
@Column(name = "waiting_id")
private Long id;

@Column(name = "rank")
private int rank;
@Column(name = "waiting_number")
private int waitingNumber;

@Column(name = "people_count")
private int peopleCount;
Expand All @@ -48,8 +48,8 @@ public class Waiting extends BaseEntity {
private Shop shop;

@Builder
public Waiting(int rank, int peopleCount) {
this.rank = rank;
public Waiting(int waitingNumber, int peopleCount) {
this.waitingNumber = waitingNumber;
this.peopleCount = peopleCount;
this.delayRemainingCount = 2;
}
Expand Down

0 comments on commit d8f2c4e

Please sign in to comment.