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
200
0
Share
What is "Entity" in DDD?
kkeeth
March 10, 2020
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
84
とある EM の初めての育休からの学び
clown0082
1
5.5k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
220
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.3k
Rediscover the joy of coding with Creative Coding
clown0082
0
1.9k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
660
JavaScript × Mathematics go to Digital Art
clown0082
1
450
In-house study group at YUMEMI
clown0082
0
240
Playing Ionic Logo by p5.js
clown0082
0
340
Other Decks in Technology
See All in Technology
MySQL 9.7がやってきた ~これまでのあらすじと基本情報~ @ 日本MySQLユーザ会会2026年04月 / mysql97-yattekita
sakaik
0
170
Digital Independence: Why, When and How
wannesrams
0
290
AI時代に越境し、 組織を変えるQAスキルの正体 / QA Skills for Transforming an Organization
mii3king
5
4k
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
150
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
120
The 7 pitfalls of AI
ufried
0
190
小さいVue.jsを30分で作る
hal_spidernight
0
140
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
2
2.2k
古今東西SRE
okaru
1
130
Vision Banana: Image Generators are Generalist Vision Learners
kzykmyzw
0
230
Agent Skillsで実現する記憶領域の運用とその後
yamadashy
1
990
「誰一人取り残されない」 AIエージェント時代のプロダクト設計思想 Product Management Summit 2026
mizushimac
1
2.9k
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
570
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
290
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
エンジニアに許された特別な時間の終わり
watany
106
240k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
190
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
330
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
500
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
540
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
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