feat(dart): 新增 quanttide_finance — DTO、Journal 模型与测试#12
Open
linli2004 wants to merge 1 commit into
Open
Conversation
… and tests Complete Dart library package with: - DTO layer: SourceRecord, NormalizedRecord, ClassificationResult with enums - Journal models: Journal, JournalEntry with freezed equality and JSON serialization - Comprehensive test coverage for all models and DTOs Note: 30 source files for a complete package addition exceeds the 20-file guideline. This is a special case — a single package cannot be split without breaking its integrity.
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.
做了什么
新增完整 Dart 包,包含 DTO 层(SourceRecord/NormalizedRecord/ClassificationResult)、Journal 模型(Journal/JournalEntry/JournalEntryLine)、46 个单元测试。
测试验证
dart analyze
dart test (46/46 All tests passed)
文件变更
DTO 模型 10 + Journal 模型 6 + 测试 5 + 配置 9