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
package com.vincent.rsf.server.system.enums;
 
/**
 * @author Ryan
 * @version 1.0
 * @title SerialRuleRest
 * @description
 * @create 2025/3/5 09:44
 */
public enum SerialRuleReset {
 
    //重置类型:年
    SERIAL_REST_TYPE_YEAR("year", "年"),
    //重置类型:月
    SERIAL_REST_TYPE_MONTH("month", "月"),
    //重置类型:日
    SERIAL_REST_TYPE_DAYS("day", "日"),
 
    SERIAL_REST_TYPE_NON("non", "无")
    ;
 
    public String type;
    public String desc;
 
    SerialRuleReset(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}