-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π 3λ¨κ³ - μκΈ μ μ± μΆκ° #488
base: moonstal1506
Are you sure you want to change the base?
Changes from 13 commits
9706b1b
135c69a
813d9bb
6c0b7e4
aee66b7
9e84b32
1f25188
8f9d1d4
3795fda
8abc39d
4835fd4
95311ce
ffb7dc5
2ae14b7
a6ed904
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package nextstep.auth.application; | ||
|
||
public class TokenInfo { | ||
|
||
private String email; | ||
private Integer age; | ||
|
||
public TokenInfo(String email, Integer age) { | ||
this.email = email; | ||
this.age = age; | ||
} | ||
|
||
public String getEmail() { | ||
return email; | ||
} | ||
|
||
public Integer getAge() { | ||
return age; | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ public interface UserDetails { | |
String getPassword(); | ||
|
||
String getEmail(); | ||
|
||
Integer getAge(); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ public String getPassword() { | |
return password; | ||
} | ||
|
||
@Override | ||
public Integer getAge() { | ||
return age; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package nextstep.path; | ||
|
||
import nextstep.line.Line; | ||
import nextstep.station.Station; | ||
|
||
import java.util.List; | ||
|
@@ -9,11 +10,13 @@ public class Path { | |
private List<Station> stations; | ||
private int distance; | ||
private int duration; | ||
private List<Line> usedLine; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aμμμ CμκΉμ§μ κ²½λ‘λΌκ³ νλ©΄ μ΄λ² λ¨κ³μ λ
Έμ μΆκ°μκΈ μ μ±
μΌλ‘ μΈν΄ usedLine κ° μΆκ°λμλ€μ π κ²½λ‘(Path)λ κ²°κ΅ κ΅¬κ°λ€(Sections)μ μΌκΈμ»¬λ μ
μΌλ‘ λ³Ό μ μμ κ² κ°μμ! |
||
|
||
public Path(List<Station> stations, int distance, int duration) { | ||
public Path(List<Station> stations, int distance, int duration, List<Line> usedLine) { | ||
this.stations = stations; | ||
this.distance = distance; | ||
this.duration = duration; | ||
this.usedLine = usedLine; | ||
} | ||
|
||
public List<Station> getStations() { | ||
|
@@ -28,4 +31,7 @@ public int getDuration() { | |
return duration; | ||
} | ||
|
||
public List<Line> getUsedLine() { | ||
return usedLine; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line40μ extraFare λ μ£Όμμ±μμμ μ΄κΈ°νλ₯Ό ν΄μ£Όμ΄μΌ ν κ² κ°μλ°, 보쑰μμ±μμμ μ΄κΈ°νλ₯Ό ν΄μ£Όκ³ μλ€μ.
[μλ κ°νΈ μ€λΈμ νΈ] 1-2μ₯ μμ±μ νλλ₯Ό μ£Ό μμ±μλ‘ λ§λμΈμ κΈμ μ°Έκ³ νμλ©΄ μ’μ κ² κ°μ΅λλ€!
(+ νμ¬ μ£Όμμ±μλ ν μ€νΈ μ½λμμλ§ μ¬μ©λκ³ μλλ° μ κ±°νκ³ , 보쑰μμ±μλ₯Ό μ£Όμμ±μλ‘ λ§λ€λ©΄ μ΄λ¨λΌμ?)