package cn.stylefeng.workflow.instance.modular.manage.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class RuntimeNodeEdgeRequest extends BaseRequest {

    @NotNull(message = "主键id不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("主键id")
    private Long ruNodeEdgeId;

    @ChineseDescription("流程运行实例id")
    private Long instanceId;

    @ChineseDescription("流程模型id")
    private Long modelId;

    @ChineseDescription("流程定义id")
    private Long definitionId;

    @ChineseDescription("起点节点")
    private Long sourceNodeId;

    @ChineseDescription("结束节点")
    private Long targetNodeId;



}
