[Feature] 디바이스 CRUD + 목록 API 구현 #94
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#94
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
디바이스 등록/조회/수정/삭제 및 목록 API를 구현한다.
API 명세
POST /v1/in/device/registerPOST /v1/in/device/infoPOST /v1/in/device/updatePOST /v1/in/device/deletePOST /v1/in/device/list체크리스트
DTOs
DeviceRegisterRequestDto.cs/DeviceRegisterResponseDto.csDeviceInfoRequestDto.cs/DeviceInfoResponseDto.csDeviceUpdateRequestDto.csDeviceDeleteRequestDto.csDeviceListRequestDto.cs/DeviceListResponseDto.csService Layer
IDeviceService.cs— 인터페이스 정의DeviceService.cs— 비즈니스 로직 구현Repository Layer
IDeviceRepository.cs— 메서드 추가 (GetByIdAndServiceAsync, GetPagedAsync)DeviceRepository.cs— 구현체API Layer
DeviceController.cs— 5개 엔드포인트Middleware 수정
ServiceCodeMiddleware.cs— /v1/in/device 경로 제외 (list 제외)ApiKeyMiddleware.cs— /v1/in/device/list 경로 제외DI & 기타
ErrorCodes.cs— Device 에러코드 추가Infrastructure/DependencyInjection.cs— DeviceRepository 등록Application/DependencyInjection.cs— DeviceService 등록