title: What is the difference between a table and entity in the context of Model in cakephp v3.x and what kind of code goes in?
body: <p>In cakephp v3.x, the Model folder contains 3 folders - Behavior, Entity, Table. I am confused over what kind of code should I put in the Entity and Table files. </p>
  
  <p>Should code related to retrieving data and resultsets be all be placed in the Table files? If yes, what sort of code should one place in the Entity files?</p>