Skip to content

Commit

Permalink
fix: uid, currentType 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Apr 6, 2024
1 parent c3f023b commit a2b5696
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.core.api.item.dto.response;

import com.core.api.item.entity.Item;
import com.core.api.item.entity.enums.ItemType;
import lombok.Data;

import java.math.BigDecimal;
Expand All @@ -9,7 +10,10 @@

@Data
public class ItemDetailResponseDto {
private Long ItemId;
private Long itemId;
private Long uid;
private ItemType type;
private ItemType currentType;
private String message;
private BigDecimal latitude;
private BigDecimal longitude;
Expand All @@ -23,7 +27,10 @@ public ItemDetailResponseDto(
List<ItemDetailCommentDto> itemCommentList,
Long likeCounts
) {
this.ItemId = item.getId();
this.itemId = item.getId();
this.uid = item.getUid();
this.type = item.getType();
this.currentType = item.getCurrentType();
this.message = item.getMessage();
this.latitude = item.getLatitude();
this.longitude = item.getLongitude();
Expand Down

0 comments on commit a2b5696

Please sign in to comment.