You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
贫血模型是指一个类中只有属性或成员变量,没有方法,而充血模型指一个类中既有属性、成员变量,也有方法,这是 DDD 推荐的设计方式。 贫血模型示例代码: 12345678910111213141516171819202122// 贫血模型的实体类public class Order{ public Guid Id { get; set; } public d
https://probieluo.github.io/posts/ddd-concepts-01/
贫血模型是指一个类中只有属性或成员变量,没有方法,而充血模型指一个类中既有属性、成员变量,也有方法,这是 DDD 推荐的设计方式。 贫血模型示例代码: 12345678910111213141516171819202122// 贫血模型的实体类public class Order{ public Guid Id { get; set; } public d