package com.pusong.workflow.domain.bo;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import com.pusong.common.core.validate.AddGroup;

import java.io.Serial;
import java.io.Serializable;

/**
 * 终转办务请求对象
 *
 * @author may
 */
@Data
public class TransmitBo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
    @NotBlank(message = "任务id为空", groups = AddGroup.class)
    private String taskId;

    /**
     * 转办人id
     */
    @NotBlank(message = "转办人不能为空", groups = AddGroup.class)
    private String userId;

    /**
     * 审批意见
     */
    private String comment;
}
