2021与蓝度共同重构项目,服务端
chenjiantian
2021-11-24 6bdb5dda11b8723ddc20a37b9cbcc1e1fdace13a
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
32
package com.sandu.common.enums;
 
/**
 * @author chenjiantian
 * @date 2021/7/28 15:56
 * 上传文件类型
 */
public enum FileCategoryEnums {
    /**
     * 操作成功
     */
    IMAGE(1, "图片"),
    VIDEO(2, "视频"),
    ;
 
    private final Integer code;
    private final String message;
 
    FileCategoryEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
 
 
    public Integer getCode() {
        return code;
    }
 
    public String getMessage() {
        return message;
    }
}