Skip to content

Commit

Permalink
Merge pull request #30 from ghis22130/data
Browse files Browse the repository at this point in the history
[BE] 데이터 수정
  • Loading branch information
bong6981 committed Apr 23, 2021
2 parents a9db182 + 441dd8d commit 21645f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BE/src/main/java/com/team10/banchan/dto/ItemDetail.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.team10.banchan.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
Expand Down Expand Up @@ -82,6 +83,7 @@ public String getDeliveryFee() {
return deliveryFee;
}

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty("n_prices")
public String getnPrices() {
return nPrices;
Expand Down
2 changes: 2 additions & 0 deletions BE/src/main/java/com/team10/banchan/dto/ItemSummary.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.team10.banchan.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
Expand Down Expand Up @@ -77,6 +78,7 @@ public String getDescription() {
return description;
}

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty("n_price")
public String getnPrice() {
return nPrice;
Expand Down

0 comments on commit 21645f8

Please sign in to comment.