6
jinlin
2023-12-04 35d048aa5c0eecd6a737c04278779b0720b0e3db
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
33
34
35
36
37
38
39
40
41
/**
 * Copyright (c) 2016-2020 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有,侵权必究!
 */
 
package com.zt.modules.message.enums;
 
import com.zt.common.annotation.Dictionary;
import com.zt.common.constant.IDictionary;
 
/**
 * 接受者类型枚举
 *
 * @author hehz
 */
@Dictionary(type = "notice_receiver", name = "接受者类型")
public enum ReceiverType implements IDictionary {
 
    DEPT(1, "部门"), USER(2, "用户");
 
    private Integer value;
    private String name;
 
    ReceiverType(int value, String name) {
        this.value = value;
        this.name = name;
    }
 
    @Override
    public Integer getValue() {
        return value;
    }
 
    @Override
    public String getName() {
        return name;
    }
}