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 WorldEventScheduleAttrib extends DynamoDBAttribBase{
    private Integer id;
    @JsonProperty("global_event_action_group_id")
    private Integer globalEventActionGroupId;
    @JsonProperty("personal_event_action_group_id")
    private Integer personalEventActionGroupId;
    @JsonProperty("global_event_contribution_point_max")
    private Integer globalEventContributionPointMax;
    @JsonProperty("start_time")
    private String startTime;
    @JsonProperty("end_time")
    private String endTime;
    @JsonProperty("is_active")
    private boolean isActive;
}
