package com.caliverse.admin.domain.response;

import com.caliverse.admin.domain.entity.BattleEvent;
import com.caliverse.admin.domain.entity.LandAuction;
import com.caliverse.admin.domain.entity.metadata.MetaBattleConfigData;
import com.caliverse.admin.domain.entity.metadata.MetaBattleRewardData;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BattleEventResponse {
    private int status;

    private String result;
    @JsonProperty("data")
    private ResultData resultData;

    @Data
    @Builder
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class ResultData {

        @JsonProperty("event_detail")
        private BattleEvent battleEvent;

        @JsonProperty("event_list")
        private List<BattleEvent> battleEventList;

        @JsonProperty("battle_config_list")
        private List<MetaBattleConfigData> battleConfigList;

        @JsonProperty("battle_reward_list")
        private List<MetaBattleRewardData> battleRewardList;

        private String message;

        private int total;
        @JsonProperty("total_all")
        private int totalAll;
        @JsonProperty("page_no")
        private int pageNo;

    }

}
