package com.caliverse.admin.dynamodb.domain.atrrib;

import com.caliverse.admin.dynamodb.entity.EInvenEquipType;
import com.caliverse.admin.dynamodb.entity.EOwnerEntityType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.*;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;

import java.util.List;

@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class ItemAttrib extends DynamoDBAttribBase{
    @JsonProperty("item_guid")
    private String itemGuid;
    @JsonProperty("item_meta_id")
    private Integer itemMetaId;
    @JsonProperty("owner_guid")
    private String ownerGuid;
    @JsonProperty("owner_entity_type")
    private EOwnerEntityType ownerEntityType;
    @JsonProperty("item_stack_count")
    private Integer itemStackCount;
    private Integer level;
    @JsonProperty("attributes")
    private List<Integer> attributes;
    @JsonProperty("equiped_inven_type")
    private EInvenEquipType equipedIvenType;
    @JsonProperty("equiped_pos")
    private Integer equipedPos;
}
