유저부분 신규 dynamodb domain 방식으로변경
아이템 처리 관련 추가
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
package com.caliverse.admin.domain.response;
|
||||
|
||||
import com.caliverse.admin.domain.entity.Item;
|
||||
import com.caliverse.admin.domain.entity.ItemList;
|
||||
import com.caliverse.admin.domain.entity.ITEMLARGETYPE;
|
||||
import com.caliverse.admin.dynamodb.domain.doc.ItemDoc;
|
||||
import com.caliverse.admin.dynamodb.entity.EInvenEquipType;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
@@ -9,7 +10,6 @@ import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -36,13 +36,38 @@ public class ItemsResponse {
|
||||
@JsonProperty("page_no")
|
||||
private int pageNo;
|
||||
|
||||
private ItemList item;
|
||||
private List<ItemList> list;
|
||||
@JsonProperty("list")
|
||||
private List<Item> itemList;
|
||||
|
||||
private int totalCnt;
|
||||
private int resolve;
|
||||
private int unresolve;
|
||||
private String rate;
|
||||
private Map<String,String> pageKey;
|
||||
}
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public static class Item{
|
||||
private Integer id;
|
||||
@JsonProperty("user_guid")
|
||||
private String userGuid;
|
||||
@JsonProperty("item_guid")
|
||||
private String itemGuid;
|
||||
@JsonProperty("item_id")
|
||||
private Integer itemId;
|
||||
@JsonProperty("item_name")
|
||||
private String itemName;
|
||||
private Integer count;
|
||||
private Integer level;
|
||||
@JsonProperty("equip_type")
|
||||
private EInvenEquipType equipType;
|
||||
@JsonProperty("equiped_pos")
|
||||
private Integer equipedPos;
|
||||
@JsonProperty("item_type")
|
||||
private ITEMLARGETYPE itemType;
|
||||
@JsonProperty("create_dt")
|
||||
private String createDt;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user