package com.erp.aftersale.dto.response;

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

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

    private Long id;
    private Long afterSaleId;
    private Long operatorId;
    private String operatorName;
    private String operatorType;
    private String action;
    private String fromStatus;
    private String toStatus;
    private String content;
    private String ip;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
