yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
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
package com.qianwen.smartman.modules.resource.enums;
 
import com.qianwen.smartman.common.constant.DictConstant;
 
 
public enum SmsCodeEnum {
    DEFAULT("", 1),
    VALIDATE("qiniu-validate", 2),
    NOTICE(DictConstant.NOTICE_CODE, 3),
    ORDER("order", 4),
    MEETING("meeting", 5);
    
    final String name;
    final int category;
 
    SmsCodeEnum(final String name, final int category) {
        this.name = name;
        this.category = category;
    }
 
    public String getName() {
        return this.name;
    }
 
    public int getCategory() {
        return this.category;
    }
}