package com.seer.teach.mall.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 售后日志响应类
 */
@Schema(description = "售后日志响应类")
@Data
public class AfterSaleLogResp {

    @Schema(description = "日志ID")
    private Long id;

    @Schema(description = "售后单ID")
    private Integer afterSaleId;

    @Schema(description = "操作类型")
    private String operationType;

    @Schema(description = "操作描述")
    private String description;

    @Schema(description = "操作人ID")
    private Integer operatorId;

    @Schema(description = "操作人名称")
    private String operatorName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}