feat: 메시지 CRUD API 구현 (#128) #129
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#129
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#128-message-crud-api"
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_Specification.md §6.1~6.4 기준 메시지 CRUD API 4개를 구현합니다.
🔗 관련 이슈 (Related Issues)
Closes #128
🛠️ 작업 내용 (Changes)
신규 API 엔드포인트
POST /v1/in/message/savePOST /v1/in/message/listPOST /v1/in/message/infoPOST /v1/in/message/delete주요 구현 사항
(접두 랜덤 3자리)(순번 4자리)(접미 랜덤 3자리)— DB_Schema.md §3 규칙 준수{{변수명}}패턴을 title/body에서 추출하여 variables 필드 반환변경 파일
SPMS.API/Controllers/MessageController.cs— save, list, info, delete 엔드포인트 추가SPMS.Application/Interfaces/IMessageService.cs— SaveAsync, GetListAsync, GetInfoAsync, DeleteAsync 추가SPMS.Application/Services/MessageService.cs— CRUD 로직 및 message_code 생성SPMS.Application/DTOs/Message/— 7개 DTO 신규SPMS.Domain/Interfaces/IMessageRepository.cs— GetTodaySequenceAsync, GetPagedByServiceAsync 추가SPMS.Infrastructure/Persistence/Repositories/MessageRepository.cs— 구현TASKS.md— Phase 3 테이블 API Spec 기준 재정비📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
- 메시지 저장 API (POST /v1/in/message/save) - 메시지 목록 조회 API (POST /v1/in/message/list) - 메시지 상세 조회 API (POST /v1/in/message/info) - 메시지 삭제 API (POST /v1/in/message/delete) - message_code 자동 생성 (접두3+순번4+접미3) - 변수 추출 ({{변수명}} 패턴) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>