package cn.stylefeng.workflow.design.modular.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 VariableRequest extends BaseRequest {

    @ChineseDescription("流程定义id")
    @NotNull(message = "流程定义id不能为空", groups = {getModelVariables.class})
    private Long definitionId;

    public @interface getModelVariables {

    }

}
