
package com.tmerclub.cloud.multishop.constant;

/**
 * 装修页面类型
 * @author lhd
 */
public enum RenovationType {

    /**
     * pc端
     */
    PC(1),
    /**
     * 移动端
     */
    H5(2),

    ;
    private final Integer num;


    public Integer value() {
        return num;
    }


    RenovationType(Integer num) {
        this.num = num;
    }

    public static RenovationType instance(Integer value) {
        RenovationType[] enums = values();
        for (RenovationType statusEnum : enums) {
            if (statusEnum.value().equals(value)) {
                return statusEnum;
            }
        }
        return null;
    }
}
