|
1 | 1 | package com.somemore.domains.recruitboard.controller; |
2 | 2 |
|
3 | 3 |
|
4 | | -import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE; |
5 | | - |
| 4 | +import com.somemore.domains.recruitboard.dto.request.RecruitBoardCreateRequestDto; |
| 5 | +import com.somemore.domains.recruitboard.dto.request.RecruitBoardLocationUpdateRequestDto; |
| 6 | +import com.somemore.domains.recruitboard.dto.request.RecruitBoardStatusUpdateRequestDto; |
6 | 7 | import com.somemore.domains.recruitboard.dto.request.RecruitBoardUpdateRequestDto; |
7 | | -import com.somemore.domains.recruitboard.usecase.command.CreateRecruitBoardUseCase; |
8 | | -import com.somemore.domains.recruitboard.usecase.command.DeleteRecruitBoardUseCase; |
9 | | -import com.somemore.domains.recruitboard.usecase.command.UpdateRecruitBoardUseCase; |
| 8 | +import com.somemore.domains.recruitboard.usecase.CreateRecruitBoardUseCase; |
| 9 | +import com.somemore.domains.recruitboard.usecase.DeleteRecruitBoardUseCase; |
| 10 | +import com.somemore.domains.recruitboard.usecase.UpdateRecruitBoardUseCase; |
10 | 11 | import com.somemore.global.auth.annotation.CurrentUser; |
11 | 12 | import com.somemore.global.common.response.ApiResponse; |
12 | 13 | import com.somemore.global.imageupload.dto.ImageUploadRequestDto; |
13 | 14 | import com.somemore.global.imageupload.usecase.ImageUploadUseCase; |
14 | | -import com.somemore.domains.recruitboard.dto.request.RecruitBoardCreateRequestDto; |
15 | | -import com.somemore.domains.recruitboard.dto.request.RecruitBoardLocationUpdateRequestDto; |
16 | | -import com.somemore.domains.recruitboard.dto.request.RecruitBoardStatusUpdateRequestDto; |
17 | 15 | import io.swagger.v3.oas.annotations.Operation; |
18 | 16 | import io.swagger.v3.oas.annotations.tags.Tag; |
19 | 17 | import jakarta.validation.Valid; |
20 | | -import java.time.LocalDateTime; |
21 | | -import java.util.UUID; |
22 | 18 | import lombok.RequiredArgsConstructor; |
23 | 19 | import org.springframework.security.access.annotation.Secured; |
24 | | -import org.springframework.web.bind.annotation.DeleteMapping; |
25 | | -import org.springframework.web.bind.annotation.PatchMapping; |
26 | | -import org.springframework.web.bind.annotation.PathVariable; |
27 | | -import org.springframework.web.bind.annotation.PostMapping; |
28 | | -import org.springframework.web.bind.annotation.PutMapping; |
29 | | -import org.springframework.web.bind.annotation.RequestBody; |
30 | | -import org.springframework.web.bind.annotation.RequestMapping; |
31 | | -import org.springframework.web.bind.annotation.RequestPart; |
32 | | -import org.springframework.web.bind.annotation.RestController; |
| 20 | +import org.springframework.web.bind.annotation.*; |
33 | 21 | import org.springframework.web.multipart.MultipartFile; |
34 | 22 |
|
| 23 | +import java.time.LocalDateTime; |
| 24 | +import java.util.UUID; |
| 25 | + |
| 26 | +import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE; |
| 27 | + |
35 | 28 | @Tag(name = "Recruit Board Command API", description = "봉사 활동 모집글 생성 수정 삭제 API") |
36 | 29 | @RequiredArgsConstructor |
37 | 30 | @RequestMapping("/api") |
|
0 commit comments