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

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

@Schema(description = "管理后台 - 执行负责人变更 Request VO")
@Data
public class ProjectExecutionOwnerChangeReqVO {

    @Schema(description = "新负责人用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3002")
    @NotNull(message = "新负责人不能为空")
    private Long newOwnerId;

    @Schema(description = "变更原因", example = "负责人调整")
    @Size(max = 500, message = "变更原因长度不能超过500个字符")
    private String reason;

}
