Kotlin枚舉

聲明 var workStatus = MeetingStatus.BDK enum class MeetingStatus(var type: Int, var desc: String, var todo: String) { WDK(1, "未打卡", "會議簽到"), ZCDK(2, "正常打卡", "已打卡"), CDDK(3, "遲到", "遲到打卡")
相關文章
相關標籤/搜索