package com.caliverse.admin.domain.request;

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

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BattleEventRequest {

    private Long id;
    @JsonProperty("group_id")
    private String groupId;
    @JsonProperty("event_id")
    private Integer eventId;
    @JsonProperty("event_name")
    private String eventName;
    @JsonProperty("repeat_type")
    private BattleEvent.BATTLE_REPEAT_TYPE repeatType;
    @JsonProperty("event_operation_time")
    private Integer eventOperationTime;
    // 시작 일자
    @JsonProperty("event_start_dt")
    private LocalDateTime eventStartDt;
    // 종료 일자
    @JsonProperty("event_end_dt")
    private LocalDateTime eventEndDt;
    //전투 이벤트 상태
    private BattleEvent.BATTLE_STATUS status;
    @JsonProperty("round_time")
    private Integer roundTime;
    @JsonProperty("round_count")
    private Integer roundCount;
    //포드 획득량
    @JsonProperty("round_pod")
    private Integer roundPod;
    @JsonProperty("hot_time")
    private Integer hotTime;
    @JsonProperty("config_id")
    private Integer configId;
    @JsonProperty("reward_group_id")
    private Integer rewardGroupId;
    @JsonProperty("instance_id")
    private Integer instanceId;

    @JsonProperty("create_by")
    private Long createBy;
    @JsonProperty("create_dt")
    private LocalDateTime createDt;
    @JsonProperty("update_by")
    private Long updateBy;
    @JsonProperty("update_dt")
    private LocalDateTime updateDt;

    //삭제용 id
    private List<BattleEvent> list;

}
