update
This commit is contained in:
22
docs/domain-model.md
Normal file
22
docs/domain-model.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Domain Model
|
||||
|
||||
## Core entities
|
||||
|
||||
- ItemTemplate: reusable defaults for common purchase types
|
||||
- Item: individual acquired object being tracked for resale
|
||||
- PriceEstimate: a resale suggestion from comps or manual input
|
||||
- ItemNote: internal notes and condition updates
|
||||
- ItemPhoto: images attached to the item
|
||||
|
||||
## Item lifecycle
|
||||
|
||||
1. Created from a template or from scratch
|
||||
2. Marked in stock
|
||||
3. Optionally listed
|
||||
4. Sold or removed from inventory
|
||||
|
||||
## Tracking rules
|
||||
|
||||
- The creator of the item is stored on the record and shown in item views
|
||||
- Profit is based on sold price minus purchase price, fees, and shipping cost
|
||||
- Estimated resale price is only a suggestion until sold data exists
|
||||
Reference in New Issue
Block a user