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

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

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 执行协办人 Response VO")
@Data
public class ExecutionAssigneeRespVO {

    @Schema(description = "协办人关系编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "7001")
    private Long id;
    @Schema(description = "所属执行编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5001")
    private Long executionId;
    @Schema(description = "协办人用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3002")
    private Long userId;
    @Schema(description = "协办人用户昵称")
    private String userNickname;
    @Schema(description = "加入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime joinedAt;
    @Schema(description = "失效时间")
    private LocalDateTime removedAt;
    @Schema(description = "失效原因")
    private String removedReason;

}
