diff --git a/backend/src/main/java/club/klabis/adapters/api/members/mappers/MemberFullViewMapper.java b/backend/src/main/java/club/klabis/adapters/api/members/mappers/MemberFullViewMapper.java index f61aa03..33931e6 100644 --- a/backend/src/main/java/club/klabis/adapters/api/members/mappers/MemberFullViewMapper.java +++ b/backend/src/main/java/club/klabis/adapters/api/members/mappers/MemberFullViewMapper.java @@ -15,7 +15,6 @@ interface MemberFullViewMapper extends Converter { @Override @Mapping(source = "registration", target = "registrationNumber") @Mapping(target = "licences", source = ".") - @Mapping(target = "medicCourse", ignore = true) MemberApiDto convert(Member source); @Mapping(source = "trainerLicence", target = "trainer") diff --git a/backend/src/main/java/club/klabis/domain/members/Member.java b/backend/src/main/java/club/klabis/domain/members/Member.java index 035f16c..8d9c178 100644 --- a/backend/src/main/java/club/klabis/domain/members/Member.java +++ b/backend/src/main/java/club/klabis/domain/members/Member.java @@ -196,7 +196,7 @@ public int getId() { return id; } - public boolean hasMedicCourse() { + public boolean getMedicCourse() { return medicCourse; }