Skip to content

Commit 4a20a69

Browse files
authored
merge: (#876) studentId -> id 로 변경
2 parents e8eb67d + 143701f commit 4a20a69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dms-core/src/main/kotlin/team/aliens/dms/domain/vote/dto/response/VoteResponse.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ data class VotingTopicsResponse(
3232
)
3333

3434
data class ExcludedStudentResponse(
35-
val studentId: UUID,
35+
val id: UUID,
3636
val gcn: String,
3737
val name: String
3838
) {
3939
companion object {
40-
fun of(studentId: UUID, gcn: String, name: String): ExcludedStudentResponse {
40+
fun of(id: UUID, gcn: String, name: String): ExcludedStudentResponse {
4141
return ExcludedStudentResponse(
42-
studentId = studentId,
42+
id = id,
4343
gcn = gcn,
4444
name = name
4545
)

dms-core/src/main/kotlin/team/aliens/dms/domain/vote/usecase/QueryAllExcludedStudentUseCase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class QueryAllExcludedStudentUseCase(
2424
return ExcludedStudentsResponses(
2525
students.map {
2626
ExcludedStudentResponse.of(
27-
studentId = it.id,
27+
id = it.id,
2828
gcn = Student.processGcn(it.grade, it.classRoom, it.number),
2929
name = it.name
3030
)

0 commit comments

Comments
 (0)