convert enum StaffStateType into enum class