OrderEventEnum.java 794 Bytes
package com.dituhui.pea.enums;

public enum OrderEventEnum {
    // 建单,首次指派,改派,取消,改约,放回工单池
    createOrder("建单", "%s通过%s创建服务工单:%s"),
    // firstAssignment("首次指派", "通过PEA派工给工程师%s"),
    reassignment("指派", "通过PEA派工给工程师%s"),
    cancel("取消", "%s在线指导解决"),
    recontracting("改约", "工程师%s/%s已改约,改约时间%s,改约原因:%s"),
    backOrderPool("放回工单池", "取消派工"),
    ;

    private String event;
    private String msg;

    OrderEventEnum(String event, String msg) {
        this.event = event;
        this.msg = msg;
    }

    public String getEvent() {
        return event;
    }

    public String getMsg() {
        return msg;
    }
}