package com.unis.flowable.common.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**开始新的流程
 * @Auther:张新亮
 * @Date: 2019/7/26 0026 16:37
 * @Description:
 */
/**
 * @author HUANG
 *
 */
/**
 * @author HUANG
 *
 */
@Getter
@Setter
@ToString
public class StartNewTaskVO {
    /**
     * 数据id
     */
	@ApiModelProperty(value="业务id",required = true)
    private String id;
    
    
    /**
     * 业务类型
     */
	@ApiModelProperty(value="业务类型")
    private String businessType;

    /**
     * 流程key
     */
	@ApiModelProperty(value="流程key",required = false)
    private String processKey;

    /**
     *  流程状态status
     */
	@ApiModelProperty(value="流程key键对应value值",required = false)
    private String status;

    /**
     *  标识流程状态传参key  标识流程状态传参key    status : 0: 启动流程当前用户默认传值 1 上集集团用户  2   县粮食局用户  3 市粮食局用户  4  省粮食局用户 :  comeout 1 通过 2 驳回
     */
	@ApiModelProperty(value="流程key键",required = false)
    private String statusKey;

    /**
     *  用户ID
     */
	@ApiModelProperty(value="用户id",required = true)
    private String userId;
	
	/**
     *  用户ID
     */
	@ApiModelProperty(value="审批角色id",required = false)
    private String roleId;
	
	@ApiModelProperty(value="状态名称",example = "待审核",required = false)
    private String statusName;


	public StartNewTaskVO() {
		super();
	}


	public StartNewTaskVO(String id, String businessType, String processKey, String status, String statusKey,
			String userId, String roleId) {
		super();
		this.id = id;
		this.businessType = businessType;
		this.processKey = processKey;
		this.status = status;
		this.statusKey = statusKey;
		this.userId = userId;
		this.roleId = roleId;
	}


}