package cn.stylefeng.workflow.log.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 FlowEngineLogRequest extends BaseRequest {

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

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

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

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

    @ChineseDescription("流程节点id")
    private Long reNodeId;

    @ChineseDescription("流程日志概要")
    private String message;

    @ChineseDescription("是否执行成功：Y-成功，N-失败")
    private String successFlag;

    @ChineseDescription("当前流程变量池")
    private String variableJsonValue;

    @ChineseDescription("租户号")
    private Long tenantId;

}
