improvement: 마이페이지 조회 확장 (#249) #250
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#250
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improvement/#249-mypage-profile-extension"
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?
📋 작업 요약
Organizationnullable varchar(100) 컬럼 추가last_login_at,organization필드 추가organization변경 지원POST /v1/in/account/profile/activity/list)🔗 관련 이슈 (Related Issues)
Closes #249
🛠️ 작업 내용 (Changes)
SPMS.Domain/Entities/Admin.cs— Organization 프로퍼티 추가SPMS.Infrastructure/Persistence/Configurations/AdminConfiguration.cs— Organization 컬럼 설정SPMS.Infrastructure/Migrations/20260226005844_AddOrganizationToAdmin.cs— DB MigrationSPMS.Application/DTOs/Account/ProfileResponseDto.cs— last_login_at, organization 필드 추가SPMS.Application/DTOs/Account/UpdateProfileRequestDto.cs— organization 필드 추가SPMS.Application/DTOs/Account/ActivityListRequestDto.cs— 활동 내역 요청 DTO 신규SPMS.Application/DTOs/Account/ActivityListResponseDto.cs— 활동 내역 응답 DTO 신규SPMS.Application/Interfaces/IAuthService.cs— GetActivityListAsync 메서드 추가SPMS.Application/Services/AuthService.cs— 프로필 매핑 확장 + 활동 내역 로직SPMS.API/Controllers/ProfileController.cs— activity/list 엔드포인트 추가📢 리뷰어 참고 사항 (To Reviewers)
last_login_at은 Admin 엔티티에 이미 존재하는LastLoginAt필드를 매핑한 것Organization은 신규 nullable 컬럼으로 DB Migration 포함IRepository<SystemLog>를 활용하여 별도 리포지토리 없이 구현✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)