package com.caliverse.admin.domain.request;

import com.caliverse.admin.domain.entity.SEARCHTYPE;
import com.caliverse.admin.dynamodb.entity.KeyParam;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ItemsRequest {
    private SEARCHTYPE searchType;
    private String searchData;
    private KeyParam pageKey;

    @JsonProperty("user_guid")
    private String userGuid;
    //guid
    @JsonProperty("item_guid")
    private String itemGuid;
    //아이템id
    @JsonProperty("item_id")
    private String itemId;
    @JsonProperty("item_count")
    private Integer itemCount;
    @JsonProperty("delete_count")
    private Integer deleteCount;
    //아이템명
    @JsonProperty("item_nm")
    private String itemName;
    //상태
    private String status;
    //복구가능여부
    @JsonProperty("restore")
    private String restoreType;
    //생성 날짜
    @JsonProperty("start_dt")
    private LocalDateTime startDt;
    @JsonProperty("end_dt")
    private LocalDateTime endDt;

}
