OssDirEnum.java 557 Bytes
Newer Older
张辰's avatar
张辰 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
package com.tanpu.community.api.enums;

public enum OssDirEnum {
    Others("others/", "其他"),
    Theme_Pic("pic/theme/","主题下的图片"),
    ;

    public String dir;
    public String type;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    OssDirEnum(String dir, String type) {
        this.dir = dir;
        this.type = type;
    }
}