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

import com.caliverse.admin.dynamodb.entity.EIntervalType;
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.Map;

@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class RankingScheduleAttrib extends DynamoDBAttribBase{
    @JsonProperty("ranking_guid")
    private String rankingGuid;
    @JsonProperty("ranking_meta_id")
    private Integer rankingMetaId;
    @JsonProperty("event_action_score_group_id")
    private Integer eventActionScoreGroupId;
    @JsonProperty("start_time")
    private String startTime;
    @JsonProperty("end_time")
    private String endTime;
    @JsonProperty("interval_base_time")
    private String intervalBaseTime;

    private Map<EIntervalType, Integer> interval;
}
