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
object Codes { | |
// ... other codes ... | |
enum class SettlementType(val label: String, val value: String) { | |
AUTO("자동", "STLTP_AUTO"), | |
MANUAL("수동", "STLTP_MANUAL"); | |
companion object { | |
fun getByValue(value: String): SettlementType? = values().find { it.value == value } | |
} |