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

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;

@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class UserBaseAttrib extends DynamoDBAttribBase {
    @JsonProperty("account_id")
    private String accountId;
    @JsonProperty("user_guid")
    private String userGuid;
    private String eoa;
    @JsonProperty("selected_character_guid")
    private String selectedCharacterGuid;
    @JsonProperty("is_intro_completed")
    private boolean isIntroCompleted;
    @JsonProperty("game_login_datetime")
    private String gameLoginDateTime;
    @JsonProperty("game_logout_datetime")
    private String gameLogoutDateTime;
}
