Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What is "Entity" in DDD?
Search
kkeeth
March 10, 2020
Technology
0
190
What is "Entity" in DDD?
kkeeth
March 10, 2020
Tweet
Share
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
71
とある EM の初めての育休からの学び
clown0082
1
5.2k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
210
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.2k
Rediscover the joy of coding with Creative Coding
clown0082
0
1.8k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
650
JavaScript × Mathematics go to Digital Art
clown0082
1
440
In-house study group at YUMEMI
clown0082
0
230
Playing Ionic Logo by p5.js
clown0082
0
330
Other Decks in Technology
See All in Technology
マルチプレーンGPUネットワークを実現するシャッフルアーキテクチャの整理と考察
markunet
2
230
作りっぱなしで終わらせない! 価値を出し続ける AI エージェントのための「信頼性」設計 / Designing Reliability for AI Agents that Deliver Continuous Value
aoto
PRO
2
270
JAWS DAYS 2026 ExaWizards_20260307
exawizards
0
400
生成AIの利用とセキュリティ /gen-ai-and-security
mizutani
1
1.6k
越境する組織づくり ─ 多様性を前提にしたチームビルディングとリードの実践知
kido_engineer
2
180
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
5
2.5k
非情報系研究者へ送る Transformer入門
rishiyama
10
6.9k
JAWSDAYS2026_A-6_現場SEが語る 回せるセキュリティ運用~設計で可視化、AIで加速する「楽に回る」運用設計のコツ~
shoki_hata
0
2.9k
20260305_【白金鉱業】分析者が地理情報を武器にするための軽量なアドホック分析環境
yucho147
3
220
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
GitLab Duo Agent Platform + Local LLMサービングで幸せになりたい
jyoshise
0
280
参考スライド:AI_Driven_Engineering_Redefined
creationline
0
100
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Claude Code のすすめ
schroneko
67
220k
Balancing Empowerment & Direction
lara
5
940
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
130
Site-Speed That Sticks
csswizardry
13
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Transcript
What is “Entity” in DDD? k-kuwahara @kuwahara_jsri @clown0082 Mar 10,
2020 Active Book Dialogue @Yumemi
const my_info = { Workplace: ‘Yumemi Inc’, Position1: ‘Servant Leader
of FET’, Position2: ‘CEO(secondary)’, Community: ‘Riot.js, Ionic, DIST’, PokemonGO: ‘TL40’ } About me
npm/~kkeeth
github.com/riot
definition of “Entity”
embody Domain Model Domain Object definitin of “Entity”
embody Domain Model definitin of “Entity” Domain Object But, there
are 2 objects. So, “Value Object”, “Entity”
What is the difference between “Value Object” and “Entity”?
the difference Value Object Entity diff attributes/variables identity property immutability
valiability change exchange/substitution behavior
Value Object
Value Object Name: John Age: 32 Gender: Male Name: Emily
Age: 27 Gender: Female
Value Object Name: John Age: 32 Gender: Male Name: John
Age: 32 Gender: Male
Entity
Entity Name: John Age: 32 Gender: Male Name: Emily Age:
27 Gender: Female
Entity Name: John Age: 32 Gender: Male Name: John Age:
32 Gender: Male
How do “Entity” identify each other?
Entity ID: 12345 Name: John Age: 32 Gender: Male ID:
98765 Name: John Age: 32 Gender: Male
Entity ID: 12345 Name: John Age: 32 Gender: Male ID:
98765 Name: John Age: 32 Gender: Male identity identity ID: 12345 ID: 98765
Merits of “Entity”
merits of “Entity” Code is more documentable Make changes in
our domain easier to communicate to your code
merits of “Entity”
embody merits of “Entity”
Let’s join DDD!!
None