张晓波
2023-10-19 262c89f005b6d7567fcab6f73eb59b3dfbc7af1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.thhy.general.common.enums;
 
public enum MouldFreeType {
    FREE("空闲",1),
    AL_USE("占用",2),
    ;
 
    private String name;
 
    private Integer value;
 
    public Integer getValue() {
        return value;
    }
 
    MouldFreeType(String name, Integer value) {
        this.name = name;
        this.value = value;
    }
 
    public static void main(String[] args) {
        System.out.println(MouldFreeType.FREE.getValue());
    }
}