package com.seer.teach.mp.admin.controller.resp;

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

import java.time.LocalDateTime;

/**
 * 代理商活动操作日志响应对象
 *
 * @author
 * @since 2025-12-30
 */
@Data
@Schema(name = "代理商活动操作日志响应对象")
public class AdminAgentActivityLogResp {

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

    @Schema(description = "活动ID")
    private Integer activityId;

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

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

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

    @Schema(description = "操作前数据")
    private String beforeData;

    @Schema(description = "操作后数据")
    private String afterData;

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

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}