public enum Section {
KITTING(1),
LABELKITTING(2),
PACKING(3);
private final int code;
}private Section(int code)
{
this.code=code;
}
public int getCode()
{
return this.code;
}
Map<Integer,Section> MAP=Arrays.stream(Section.values()).collect(Collectors.toMap(s->s.code, section->section));
Lyyb2001