From e644b3a767fcbed3cdd90e32c7766fedfb2f8031 Mon Sep 17 00:00:00 2001 From: leeeryboy Date: Mon, 11 Sep 2023 18:11:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=83=9C=EA=B7=B8=20=ED=95=AD=EB=AA=A9?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../csereal/core/notice/database/TagInNoticeEnum.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/notice/database/TagInNoticeEnum.kt b/src/main/kotlin/com/wafflestudio/csereal/core/notice/database/TagInNoticeEnum.kt index a15c56ab..a661a130 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/notice/database/TagInNoticeEnum.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/notice/database/TagInNoticeEnum.kt @@ -4,11 +4,11 @@ import com.wafflestudio.csereal.common.CserealException enum class TagInNoticeEnum { CLASS, SCHOLARSHIP, UNDERGRADUATE, GRADUATE, MINOR, REGISTRATIONS, ADMISSIONS, GRADUATIONS, - RECRUIT, STUDENT_EXCHANGE, EVENTS_PROGRAMS, FOREIGN; + RECRUIT, STUDENT_EXCHANGE, INNER_EVENTS_PROGRAMS, OUTER_EVENTS_PROGRAMS, FOREIGN; companion object { - fun getTagEnum(t: String) : TagInNoticeEnum{ - return when(t) { + fun getTagEnum(t: String): TagInNoticeEnum { + return when (t) { "수업" -> CLASS "장학" -> SCHOLARSHIP "학사(학부)" -> UNDERGRADUATE @@ -19,7 +19,8 @@ enum class TagInNoticeEnum { "졸업" -> GRADUATIONS "채용정보" -> RECRUIT "교환학생/유학" -> STUDENT_EXCHANGE - "행사/프로그램" -> EVENTS_PROGRAMS + "내부행사/프로그램" -> INNER_EVENTS_PROGRAMS + "외부행사/프로그램" -> OUTER_EVENTS_PROGRAMS "foreign" -> FOREIGN else -> throw CserealException.Csereal404("태그를 찾을 수 없습니다") }