package com.cpop.oam.business.bo;

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

/**
 * Description:
 * date: 2023/5/29 16:00
 *
 * @Author ST
 */
@Data
@Accessors(chain = true)
@Schema(description = "Task转交对象")
public class TransferTaskBo {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空")
    @Schema(description = "主键",requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    /**
     * 原负责人
     */
    @NotBlank(message = "原负责人不能为空")
    @Schema(description = "原负责人",requiredMode = Schema.RequiredMode.REQUIRED)
    private String responsibleStaffId;

    /**
     * 新负责人
     */
    @NotBlank(message = "新负责人不能为空")
    @Schema(description = "新负责人",requiredMode = Schema.RequiredMode.REQUIRED)
    private String newResponsibleStaffId;
}
