package cn.stylefeng.workflow.instance.api.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkflowFinishNodeRequest {

    @NotNull(message = "流程实例id不能为空")
    @ChineseDescription("流程实例id")
    private Long instanceId;

    @NotEmpty(message = "运行时节点列表不能为空")
    @ChineseDescription("运行时节点列表")
    private List<Long> runtimeNodeIdList;

}
