package com.erp.order.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@Builder
public class OperationLogResponse {

    private Long id;
    private Long operatorId;
    private String operator;
    private String action;
    private String actionText;
    private String content;
    private String beforeStatus;
    private String afterStatus;
    private String ip;
    private String userAgent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
