Adding models

Models define the data structures that will be used by our business applications. This recipe shows you how to add a basic model to a module.

In our example, we want to manage books for a library. To do this, we need to create a model to represent books. Each book will have a name and a list of authors.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset