Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDD中一些问题的思考 #1

Open
wwlleo0730 opened this issue Oct 25, 2018 · 2 comments
Open

DDD中一些问题的思考 #1

wwlleo0730 opened this issue Oct 25, 2018 · 2 comments
Labels
thinking ddd Something about ddd

Comments

@wwlleo0730
Copy link
Owner

比如一个订单系统中,可能有多种订单,比如商品订单,充值订单,退货订单等等。

是否可以抽象出一个顶层订单类,即ORM中的 @Inheritance(strategy=InheritanceType.JOINED)
方式。

@wwlleo0730 wwlleo0730 added the thinking ddd Something about ddd label Oct 25, 2018
@wwlleo0730
Copy link
Owner Author

  1. 如何更好的识别一个值对象,以及这个值对象应该包含的行为?

  2. 同一个对象实体,在多个限界上下文中应该如何建模?

@wwlleo0730 wwlleo0730 changed the title DDD中,entity的继承 DDD中一些问题的思考 Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
thinking ddd Something about ddd
Projects
None yet
Development

No branches or pull requests

1 participant