package com.njcn.rdms.module.project.controller.admin.project.task.vo.assignee;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 任务协办人变更历史 Response VO")
@Data
public class TaskAssigneeLogRespVO {

    @Schema(description = "日志编号", example = "8001")
    private Long id;

    @Schema(description = "任务编号", example = "9001")
    private Long taskId;

    @Schema(description = "事件类型：join / inactive", example = "join")
    private String actionType;

    @Schema(description = "被操作人用户编号", example = "3002")
    private Long userId;

    @Schema(description = "被操作人昵称快照")
    private String userNicknameSnapshot;

    @Schema(description = "操作人用户编号", example = "3001")
    private Long operatorUserId;

    @Schema(description = "操作人昵称快照")
    private String operatorNicknameSnapshot;

    @Schema(description = "事件时间")
    private LocalDateTime actionTime;

    @Schema(description = "原因；inactive 必填，join 可空")
    private String reason;

}
