turn enum KuoHaoType into enum class