feat: Domain Interface 정의 — Repository, UnitOfWork (#12) #13
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#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#12-domain-interfaces"
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 #12
🛠️ 작업 내용 (Changes)
SPMS.Domain/Interfaces/IRepository.cs— Generic CRUD 인터페이스 (GetById, GetAll, Find, GetPaged, Count, Exists, Add, Update, Delete)SPMS.Domain/Interfaces/IUnitOfWork.cs— 트랜잭션 관리 (SaveChanges, BeginTransaction, Commit, Rollback)SPMS.Domain/Interfaces/IServiceRepository.cs— ByServiceCode, ByApiKey, WithIps, ByStatusSPMS.Domain/Interfaces/IAdminRepository.cs— ByEmail, ByAdminCode, EmailExistsSPMS.Domain/Interfaces/IDeviceRepository.cs— ByServiceAndToken, ActiveCount, ByPlatformSPMS.Domain/Interfaces/IMessageRepository.cs— ByMessageCodeSPMS.Domain/Interfaces/IPushLogRepository.cs— ByMessageId(페이징+상태필터), FailedByMessageId, BatchAdd, CountByStatusSPMS.Domain/Interfaces/IFileRepository.cs— ByFileName, FileExistsSPMS.Domain/Interfaces/IStatRepository.cs— ByServiceAndDate, ByDateRange📢 리뷰어 참고 사항 (To Reviewers)
IUnitOfWork에서IDbContextTransaction대신IDisposable을 사용하여 Domain에 EF Core 의존성 제거IRepository<T>를 상속하여 공통 CRUD 자동 포함✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)