refactor: init file data #50
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π§μ°κ²°λ μ΄μ
π οΈμμ λ΄μ©
enum MajorNameμννΈμ¨μ΄νκ³Ό, λ°μ΄ν°μ¬μ΄μΈμ€νκ³Ό μΆκ°mapToGonghakCoursesDomainλ©μλ 리ν©ν λ§π€·ββοΈPRμ΄ νμν μ΄μ
1. enum MajorName
2νκ³Όκ° μλ‘ μΆκ°λ¨μ λ°λΌ μΆκ°νμμ΅λλ€.
2.
mapToGonghakCoursesDomainλ©μλ 리ν©ν λ§μ‘΄μ¬νμ§ μλ κ°μ
μλ μννΈμ¨μ΄νκ³Όμ 17λ λ κ΅κ³Όκ³Όμ νμ λλ€. νμ§λ§ μ΄μ€
κ³ κΈμ€μκ°κ·Έλν½μ€,λμ§νΈμ¬μ΄λλ±μ μ€μ κ΅κ³Όκ° κ°μ€λμ§ μμ μ΄λ₯Ό μ²λ¦¬ν λ‘μ§μ΄ νμνμ΅λλ€.μλλ GongakCoursesDomainμ returnνλ
mapToGonghakCoursesDomainλ©μλλ₯Ό Optional κ°μ²΄λ₯Ό return νλλ‘ λ¦¬ν©ν λ§νμ¬, ν΄λΉ κ°μ²΄κ° emptyλ©΄ μ μ₯νμ§ μκ³ , μ΄ν λΆνμν λ‘μ§λ μ§ννμ§ μκ² νμμ΅λλ€.λ°μ΄ν° ν¬λ§·ν
μλλ μννΈμ¨μ΄νκ³Όμ λ°μ΄ν°νμμ΄κ³ ,

μλλ μ μμ 보ν΅μ 곡νκ³Όμ λ°μ΄ν° νμμ λλ€.

νκ³Όλ³λ‘ κ΅κ³Όκ΅¬λΆ νλͺ©μ΄ μμ΄νμ¬ csv νμΌλ€μ μ΄ν΄λ³΄λ©° κ°λ₯ν λͺ¨λ κ²½μ°μ μλ₯Ό μΆμ€λ €μ
μ λ¬Έκ΅μ,BSM,μ 곡,MSC4κ°μ§ νλͺ©μΌλ‘ ν΅μΌμμΌ°μ΅λλ€.μΈμ¦κ΅¬λΆ λ°μ΄ν°λ
μΈμ,μΈνννλ‘ μ μ₯λλλ‘ substringμ μ μ©νμμ΅λλ€.μκ°νμμΌλ‘λ "λνμμμνμ§λ‘μ€κ³" μ²λΌ λμ΄μ°κΈ°κ° μ£Όλ‘ μμΌλ©°, 곡νμΈμ¦ ννμ΄μ§μμΌλ‘λ "λνμμ μν μ§λ‘μ€κ³" μ²λΌ λμ΄μ°κΈ°κ° μ μ©λμ΄μμ΄ νκ³Όλͺ©μ κ²μνλλ° μλ¬κ° λ°μνμ΅λλ€.
μκ°νμμΌλ‘λ κ°λ λμ΄μ°κΈ°κ° μ‘΄μ¬νλ νλͺ©λ μκ³ λΆκ·μΉμ μ΄λΌ, λͺ¨λ κ΅κ³Όλͺ©μ λμ΄μ°κΈ°λ₯Ό μμ λλ‘ ν΅μΌνμμ΅λλ€.
βοΈPR 체ν¬λ¦¬μ€νΈ