package com.caliverse.admin.domain.entity;

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.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Log {
    private Long id;
    @JsonProperty("admin_id")
    private Long adminId;
    @JsonProperty("row_num")
    private Long rowNum;
    private String name;
    private String mail;
    @JsonProperty("history_type")
    private HISTORYTYPE historyType;
    private String content;
    @JsonProperty("create_dt")
    private LocalDateTime createDt;
}
