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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Schema(description = "管理后台 - 任务协办人退出 Request VO")
@Data
public class TaskAssigneeInactiveReqVO {

    @Schema(description = "退出协办的原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "调整到其他任务")
    @NotBlank(message = "退出协办必须填写原因")
    @Size(max = 500, message = "原因长度不能超过500个字符")
    private String reason;

}
