package com.caliverse.admin.domain.request;

import com.caliverse.admin.domain.entity.common.SearchUserType;
import com.caliverse.admin.logs.entity.LogAction;
import com.caliverse.admin.logs.entity.LogDomain;
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 LogGenericRequest {
    @JsonProperty("search_type")
    private SearchUserType searchType;
    @JsonProperty("search_data")
    private String searchData;
    @JsonProperty("log_action")
    private LogAction logAction;
    @JsonProperty("log_domain")
    private LogDomain logDomain;
    @JsonProperty("tran_id")
    private String tranId;
    @JsonProperty("start_dt")
    private LocalDateTime startDt;
    @JsonProperty("end_dt")
    private LocalDateTime endDt;
    @JsonProperty("page_no")
    private Integer pageNo;
    @JsonProperty("page_size")
    private Integer pageSize;
    @JsonProperty("order_by")
    private String orderBy;
}
