For simple situations, a simple enum is fine, but in more complex ones, it's better to introduce a custom class to avoid switch statements like this being ...
確定! 回上一頁