diff --git a/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementGetDto.java b/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementGetDto.java index d77fba22..01e9eafe 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementGetDto.java +++ b/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementGetDto.java @@ -24,13 +24,8 @@ public class AdvertisementGetDto { @NotNull private final String advertisementLink; - @Schema(description = "광고 이미지 순서, 서버에서 정렬해서 전달한다.
프론트에서 확인용으로 사용하기 위함", example = "2") - @NotNull - private final Long advertisementOrder; - public static AdvertisementGetDto of(Advertisement advertisement) { return new AdvertisementGetDto(advertisement.getAdvertisementDesktopImageUrl(), - advertisement.getAdvertisementMobileImageUrl(), advertisement.getAdvertisementLink(), - advertisement.getPriority()); + advertisement.getAdvertisementMobileImageUrl(), advertisement.getAdvertisementLink()); } } diff --git a/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementsGetResponseDto.java b/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementsGetResponseDto.java index a1aa5bd6..aa2e79ff 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementsGetResponseDto.java +++ b/main/src/main/java/org/sopt/makers/crew/main/advertisement/dto/AdvertisementsGetResponseDto.java @@ -9,10 +9,10 @@ public record AdvertisementsGetResponseDto( @Schema(description = "광고 구좌 이미지 객체", example = "") @NotNull - List advertisementImages + List advertisements ) { - public static AdvertisementsGetResponseDto of(List advertisementImages) { + public static AdvertisementsGetResponseDto of(List advertisements) { - return new AdvertisementsGetResponseDto(advertisementImages); + return new AdvertisementsGetResponseDto(advertisements); } }