record value와 lifecycle entity

값 전체 equality와 장기 identity 요구를 비교한다.

Record value

component 전체로 같음을 판단하고 새 값으로 전환한다

snapshot

Entity class

id와 lifecycle을 가지며 owner가 상태를 변경한다

identity
조합entity 외부 projection·event·command는 record로 만들 수 있다

핵심: boilerplate 감소만으로 mutable entity를 record로 바꾸지 않는다.