Krisenvorrat Inventar-App – Android-App (Kotlin) zur Verwaltung eines Krisenvorrats-Inventars
domain/model/: - CategorySummary: item count + total value per category - ExpiryWarning + ExpiryUrgency: expiry date warnings (urgent ≤6mo, warning ≤12mo) - MinStockWarning: items below minimum stock with deficit domain/usecase/: - CalculateTotalValueUseCase: sum of quantity × unitPrice - CalculateCategorySummaryUseCase: per-category item count and value - CalculateSupplyRangeUseCase: kcal-based supply range in days (weight units g/kg/mg only, defaults 2 persons × 2000 kcal/day) - GetExpiryWarningsUseCase: items expiring within 6/12 months - GetMinStockWarningsUseCase: items where quantity < minStock All use cases are pure functions with @Inject constructor() for Hilt. 39 unit tests covering all calculations including edge cases. Closes #29 |
||
|---|---|---|
| .github | ||
| .vscode | ||
| Anforderungen | ||
| app | ||
| gradle | ||
| memories/repo | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||