title: DDD + node.js: Where should domain logic go
body: <p>I am trying to institute DDD into a node.js application using es6.  I am using mongoose for my data access layer.  I noticed that mongoose has a ".methods" property tied to the model schema.  In terms of adding business logic to an entity, would this be an ideal place to add business logic or should I consider creating another object that holds the business logic that mirrors the model schema object and just copy the data from one to the other?  If I were using sequalize, what would be the preferred approach here?</p>