feat: 파일 업로드/조회/삭제 API 구현 (#98) #99
No reviewers
SPMS/Owners
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#99
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#98-file-crud"
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?
📋 작업 요약
🔗 관련 이슈 (Related Issues)
Closes #98
🛠️ 작업 내용 (Changes)
SPMS.Domain/Entities/FileEntity.cs— IsDeleted, DeletedAt 컬럼 추가SPMS.Domain/Common/ErrorCodes.cs— File 에러코드 추가 (181~183)SPMS.Domain/Interfaces/IFileRepository.cs— GetByIdAndServiceAsync, GetPagedByServiceAsync 추가SPMS.Infrastructure/Persistence/Configurations/FileEntityConfiguration.cs— Soft Delete 컬럼 매핑SPMS.Infrastructure/Persistence/Repositories/FileRepository.cs— 새 파일, 레포지토리 구현SPMS.Infrastructure/Services/LocalFileStorageService.cs— 새 파일, 로컬 파일 저장 서비스SPMS.Infrastructure/Migrations/AddFileEntitySoftDelete.cs— 마이그레이션SPMS.Application/DTOs/File/*.cs— 8개 DTO (Upload/Info/List/Delete Request/Response + Summary)SPMS.Application/Interfaces/IFileService.cs— 새 파일, 서비스 인터페이스SPMS.Application/Interfaces/IFileStorageService.cs— 새 파일, 파일 저장 추상화SPMS.Application/Services/FileService.cs— 새 파일, 비즈니스 로직 구현SPMS.API/Controllers/FileController.cs— 새 파일, 4개 엔드포인트SPMS.API/appsettings.json— FileStorage 설정 추가SPMS.Application/DependencyInjection.cs— IFileService 등록SPMS.Infrastructure/DependencyInjection.cs— IFileRepository, IFileStorageService 등록📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)