Establish product language contract, user journey with dual growth engines, ERD/OpenAPI/Go boundaries, and H5 routes (/profile, /portrait, /relation, /membership) before P1 implementation. Co-authored-by: Cursor <cursoragent@cursor.com>
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# Domain Language — Ubiquitous Terms
|
|
|
|
Use ONLY these words in code and API.
|
|
**User-facing Chinese:** [product/lexicon.md](product/lexicon.md)
|
|
**Feature tree:** [product/feature-map.md](product/feature-map.md)
|
|
**Contexts / ER:** [domain/domain-map.md](domain/domain-map.md) · [domain/erd.md](domain/erd.md)
|
|
|
|
---
|
|
|
|
## Tech → User (frozen)
|
|
|
|
| Tech | User CN |
|
|
|---|---|
|
|
| Profile | 个人档案 |
|
|
| Portrait | 个人画像 |
|
|
| Scale | 探索测试 |
|
|
| ScaleResult / Result | 探索结果 |
|
|
| GrowthReport | 成长报告 |
|
|
| RelationInsight | 关系理解 |
|
|
| Ask | AI成长助手(Tab:问答) |
|
|
| Memory | 成长记录 |
|
|
| Mood | 心情记录 |
|
|
| SolarTerm | 节气生活 |
|
|
| Membership | 成长会员 |
|
|
| DeepAccess | 深度版 |
|
|
| Constitution | 身心探索 |
|
|
|
|
Deprecated aliases: Decode→Portrait · Match→RelationInsight · Unlock→DeepAccess
|
|
|
|
---
|
|
|
|
## Identity
|
|
|
|
| Term | Meaning |
|
|
|---|---|
|
|
| **Visitor** | 匿名访客 + device id |
|
|
| **User** | 注册主体 |
|
|
| **VIP** | Membership active |
|
|
| **Session** | token 会话 |
|
|
|
|
---
|
|
|
|
## Core aggregates (names for packages/tables)
|
|
|
|
`user` · `profile` · `portrait` · `scale` · `scale_result` · `growth_report` · `relation_insight` · `ask_thread` · `ask_message` · `mood` · `memory_item` · `subscription` · `membership` · `order` · `payment` · `deep_access`
|
|
|
|
Never invent: `customer`, `decode`, `horoscope_luck`, `tarot` packages for P1.
|