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

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.workflow.api.pojo.InstanceVariable;
import lombok.Data;

@Data
public class FlowApiStartRequest {

    @ChineseDescription("流程发起方式：10-页面发起，20-接口发起")
    private Integer workflowStartType;

    @ChineseDescription("业务的编码")
    private String businessCode;

    @ChineseDescription("流程变量集合")
    private InstanceVariable instanceVariable;

    @ChineseDescription("提交人id，发起人id")
    private Long applicant;

    @ChineseDescription("发起人的组织机构id，以哪个身份发起")
    private Long applicantOrgId;

    @ChineseDescription("发起人的职位id，以哪个身份发起")
    private Long applicantPositionId;

}
