Last active
October 1, 2021 09:41
-
-
Save AppleCEO/71b77cfba9202f3dcee1dcb9ae717774 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum RestaurantGrade: Int { | |
case premium | |
case superBaemin | |
case general | |
func getName() -> String { | |
switch self { | |
case .premium: return "프리미엄" | |
case .superBaemin: return "슈퍼배민" | |
case .general: return "일반" | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment