[#147] feat: 지원 종료 예상 자산 시뮬레이션 화면 구현 - #148
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes: #147
제목
feat: 지원 종료 예상 자산 시뮬레이션 화면 구현
작업 내용
지원 종료 예상 자산 계산
/api/asset-forecast응답을 확장했습니다.DEPOSIT계좌SAVINGS,INVESTMENT계좌HousingCost.deposit자산 소진 시뮬레이션
예상 자산 상세 화면
/asset-forecast경로를 추가했습니다.AppTopBar,AppBottomNav, API client와 formatter를 재사용했습니다.자산 소진 상태 UI
0원으로 표시되는 자산 금액은 빨간색으로 표시합니다.소진까지 N개월소진됨자산 소진 가능성을 확인하세요카드는 제거했습니다.홈 화면 연동
me.initialAsset대신/api/asset-forecast결과로 표시합니다.예상 자산 자세히 보러가기를 접근 가능한RouterLink로 변경했습니다./asset-forecast상세 화면으로 이동합니다.데모 데이터
user1의 6월과 7월 수입·지출 데이터를 추가했습니다.OTHER로 변경해 지출 집계에서 제외했습니다.ON DUPLICATE KEY UPDATE구조를 유지해 멱등성을 보장합니다.포켓 아이콘
AppIconSVG 마스크 방식을 재사용했습니다.주요 API 응답 필드
currentTotalAssetcurrentCashAssetcurrentSavingInvestmentAssetcurrentHousingDepositforecastTotalAssetforecastNetAssetforecastShortageAmountforecastCashAssetforecastSavingInvestmentAssetforecastHousingDepositmonthlyConvertedNetIncomeaverageMonthlySavingInvestmenttotalAssetChangesavingInvestmentChangecashDepletionMonthliquidAssetDepletionMonthhousingDepositDepletionMonthcashRatiosavingInvestmentRatiohousingDepositRatiocalculationBasisdataSufficient테스트
npm run buildcompileJavadata.sql초기화 테스트git diff --check참고 사항