Skip to content

Commit

Permalink
Merge pull request #77 from Y-edu/fix/gender
Browse files Browse the repository at this point in the history
fix : 성별 추가
  • Loading branch information
ywj9811 authored Mar 8, 2025
2 parents a071621 + c3d052a commit 57ec692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.yedu.backend.admin.application.dto.res;

import com.yedu.backend.domain.parents.domain.entity.constant.ClassType;
import com.yedu.backend.domain.teacher.domain.entity.constant.TeacherGender;
import com.yedu.backend.domain.teacher.domain.entity.constant.TeacherStatus;

import java.util.List;
Expand All @@ -13,6 +14,7 @@ public record FilteringTeacher (
String nickName,
List<ClassType> classTypes,
String name,
TeacherGender gender,
TeacherStatus status,
int accept,
int total,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public static FilteringTeacher mapToAllFilteringTeacherResponse(Teacher teacher,
teacherInfo.getNickName(),
classTypes,
teacherInfo.getName(),
teacherInfo.getGender(),
teacher.getStatus(),
0,
0,
Expand Down

0 comments on commit 57ec692

Please sign in to comment.