学习enum

Signed-off-by: lg <ligang@lg-desktop.(none)>