Skip to content

Commit

Permalink
[DELETE] BoothDTO Id attribute delete
Browse files Browse the repository at this point in the history
- BoothDTO Id attribute delete
  • Loading branch information
himodu committed May 16, 2024
1 parent 4ff41ea commit a3b5d17
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@RequiredArgsConstructor
@AllArgsConstructor
public class Booth {
private Long id;
private String boothName;
private int likes;
private String categori;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@Data
@Builder
public class BoothDetail {
private Long id;
private String boothName;
private int likes;
private String categori;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public AllBooth getAllbooth(String userHash) {
boothDtos = new ArrayList<>();
for(BoothEntity booth : boothes){
boothDtos.add(Booth.builder()
.id(booth.getId())
.boothName(booth.getBoothName())
.likes(booth.getLikes())
.categori(booth.getCategori())
Expand Down Expand Up @@ -81,7 +80,6 @@ public BoothDetail getBooth(int boothnum, String categori, String userHash) {

boolean temp;


if(userBoothEntity.isEmpty()){
temp = true;
booth = boothOp.get();
Expand All @@ -92,7 +90,6 @@ public BoothDetail getBooth(int boothnum, String categori, String userHash) {
}

return BoothDetail.builder()
.id(booth.getId())
.boothName(booth.getBoothName())
.likes(booth.getLikes())
.boothnum(booth.getBoothnum())
Expand Down

0 comments on commit a3b5d17

Please sign in to comment.