package cn.stylefeng.workflow.api.pojo.variable;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VariableJsonSaveRequest extends BaseRequest {

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

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

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

    @ChineseDescription("参数的具体的值，存JSON字符串")
    private JSONObject variableJsonValue;

}
