Skip to content

Commit

Permalink
chore: 코드 클린업
Browse files Browse the repository at this point in the history
  • Loading branch information
sallyjellyy committed Apr 21, 2021
1 parent 8dadd2a commit 3cb8603
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.codesquad.team14.domain;

public enum Badge {
EVENT, LAUNCHING, BEST;
EVENT, LAUNCHING, BEST
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

public class Item {

private Long id;
private final Long id;
private String title;
private String description;
private int normalPrice;
private int salePrice;
private List<Badge> badges;
private List<DeliveryType> deliveryTypes;
private List<String> thumbImages;
private Long categoryId;
private final Long categoryId;

public Item(Long id, String title, String description, int normalPrice, Long categoryId) {
this.id = id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

public class ItemDto {
private String temp;
public ItemDto (String s) {

public ItemDto(String s) {
temp = s;
}

public String getTemp() {
return temp;
}
Expand Down

0 comments on commit 3cb8603

Please sign in to comment.