package com.suntray.oa.app.common.constant;

/**
 * @author 黄康林
 * @function 通用错误码
 */
public enum CommonCode {
    /**
     * 成功操作
     */
    C0000("0", "操作成功", null, null),

;
    private String code;

    private String message;

    private String possibleReason;

    private String suggestMeasure;

    CommonCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    CommonCode(String code, String message, String possibleReason, String suggestMeasure) {
        this.code = code;
        this.message = message;
        this.possibleReason = possibleReason;
        this.suggestMeasure = suggestMeasure;
    }
    }
