๐Ÿงบ LaundryLog Event Modeling Diagram

Truck Driver Laundry Expense Tracking System
Command Slice
OpenApp
Truck driver opens the LaundryLog app
019644a1-b1a0-7000-8000-000000000100
๐Ÿ“ฑ
Origin: Splash Screen
โ–ผ
๐Ÿ“ฑ
app-splash-screen.png
๐Ÿ‘ค TruckDriver
business emd
โšก
Command
โ–ผ
Name OpenApp
business emd
๐Ÿ”ง
Handler
โ–ผ
Name OpenAppHandler
business
๐Ÿ“ข
Event: AppOpened
โ–ผ
openedAt datetime
business emd
Command Slice
SetLocation
Truck driver provides the laundromat location
019644a1-b1a0-7000-8000-000000000300
๐Ÿ“
Origin: Get Location
โ–ผ
๐Ÿ“
get-location-screen.png
๐Ÿ‘ค TruckDriver
business emd
โšก
Command
โ–ผ
location string
business emd
๐Ÿ”ง
Handler
โ–ผ
Name SetLocationHandler
business
๐Ÿ“ข
Event: LocationSet
โ–ผ
location string
business emd
View Slice
CurrentLocation
Provides the current laundromat location for expense entry
019644a1-b1a0-7000-8000-000000000400
๐Ÿ“ฑ
Origin: No Screen
โ–ผ
๐Ÿ‘ค None
business
๐Ÿ”ญ
Projector
โ–ผ
Name CurrentLocationProjector
business
๐Ÿ‘๏ธ
View
โ–ผ
location string
business emd
Command Slice
LogExpense
Truck driver logs a laundry expense
019644a1-b1a0-7000-8000-000000000500
๐Ÿ’ฐ
Origin: Expense Entry
โ–ผ
๐Ÿ’ฐ
expense-entry-screen.png
๐Ÿ‘ค TruckDriver
business emd
โšก
Command
โ–ผ
machineType string
quantity int
pricePerMachine decimal
paymentMethod string
location string
business emd
๐Ÿ”ง
Handler
โ–ผ
Name LogExpenseHandler
business
๐Ÿ“ข
Event: LaundryExpenseLogged
โ–ผ
expenseId guid
machineType string
quantity int
pricePerMachine decimal
totalCost decimal
paymentMethod string
location string
loggedAt datetime
business emd
View Slice
RecentExpenses
Shows recently logged laundry expenses
019644a1-b1a0-7000-8000-000000000600
๐Ÿ“ฑ
Origin: No Screen
โ–ผ
๐Ÿ‘ค None
business
๐Ÿ”ญ
Projector
โ–ผ
Name RecentExpensesProjector
business
๐Ÿ‘๏ธ
View
โ–ผ
expenses list
totalSpent decimal
expenseCount int
location string
business emd