提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author 47081 |
|
5 |
* @version 1.0 |
|
6 |
* @description |
|
7 |
* @date 2020/9/14 |
|
8 |
*/ |
|
9 |
public enum EM_DELIVERY_FILE_TYPE { |
|
10 |
/** |
|
11 |
* 未知 |
|
12 |
*/ |
|
13 |
EM_DELIVERY_FILE_TYPE_UNKNOWN(0,"未知"), |
|
14 |
/** |
|
15 |
* 视频 |
|
16 |
*/ |
|
17 |
EM_DELIVERY_FILE_TYPE_VIDEO(1,"视频"), |
|
18 |
/** |
|
19 |
* 图片 |
|
20 |
*/ |
|
21 |
EM_DELIVERY_FILE_TYPE_IMAGE(2,"图片"), |
|
22 |
/** |
|
23 |
* 音频 |
|
24 |
*/ |
|
25 |
EM_DELIVERY_FILE_TYPE_AUDIO(3,"音频"); |
|
26 |
private int type; |
|
27 |
private String desc; |
|
28 |
private EM_DELIVERY_FILE_TYPE(int type,String desc){ |
|
29 |
this.type=type; |
|
30 |
this.desc=desc; |
|
31 |
} |
|
32 |
|
|
33 |
public int getType() { |
|
34 |
return type; |
|
35 |
} |
|
36 |
|
|
37 |
public void setType(int type) { |
|
38 |
this.type = type; |
|
39 |
} |
|
40 |
|
|
41 |
public String getDesc() { |
|
42 |
return desc; |
|
43 |
} |
|
44 |
|
|
45 |
public void setDesc(String desc) { |
|
46 |
this.desc = desc; |
|
47 |
} |
|
48 |
} |