package cn.palmte.work.config.activiti;

public class ActConstant {

    /**
     * 流程启动用户变量
     */
    public static final String START_PROCESS_USERID="startUserId";


    public static final String PROC_INS_ID="procInsId";
    public static final String PROC_DEF_KEY="procDefKey";

    /**
     * 发起审批节点
     */
    public static final int TASK_INDEX_FIRST_USER_TASK= 2;


    /**
     * 单实例 或签
     */
    public static final int TASK_TYPE_SINGE= 0;
    /**
     * 多实例 会签
     */
    public static final int TASK_TYPE_MULTI= 1;


    /**
     * 会签任务总数
     */
    public static final String NUMBER_OF_INSTANCES = "nrOfInstances";

    /**
     * 活动的会签任务数
     */
    public static final String NUMBER_OF_ACTIVE_INSTANCES = "nrOfActiveInstances";

    /**
     * 完成会签任务数
     */
    public static final String NUMBER_OF_COMPLETED_INSTANCES = "nrOfCompletedInstances";


    /**
     * 概算
     */
    public static final String PROCESS_DEFKEY_ESTIMATE = "estimate";
    /**
     * 预算
     */
    public static final String PROCESS_DEFKEY_BUDGET   = "budget";
    /**
     * 结算
     */
    public static final String PROCESS_DEFKEY_SETTLE   = "settle";
    /**
     * 决算
     */
    public static final String PROCESS_DEFKEY_FINAL    = "final";

    public static final String KEY_PROJECT_ID = "projectId";
    public static final String KEY_PROJECT_TYPE = "projectType";
}
