package com.caliverse.admin.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

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

    private Long id;
    private String guid;
    private String title;
    @JsonProperty("start_dt")
    private LocalDateTime startDt;
    @JsonProperty("end_dt")
    private LocalDateTime endDt;
    @JsonProperty("base_dt")
    private LocalDateTime baseDt;
    @JsonProperty("meta_id")
    private Integer metaId;
    @JsonProperty("event_action_id")
    private Integer eventActionId;
    @JsonProperty("refresh_interval")
    private Integer refreshInterval;
    @JsonProperty("initialization_interval")
    private Integer initializationInterval;
    @JsonProperty("snapshot_interval")
    private Integer snapshotInterval;

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

}
