What is a model?
What does it do? It separates domain logic from the presentation, isolating application logic.楼主要学习下MVC概念
When the $recursive option is set to an integer value greater than 1, the findAll() operation will make an effort to return the models associated to the ones found by the findAll(). If your property has many owners who in turn have many contracts, a recursive findAll() on your Property model will return those associated models.就是几个表之间的关联关系,你要在写model层的时候指定好关联关系(hasOne,belongsTo等等)。$recursive越大就“挖”的越深