To initiate a model, we need to use Gii tool from Yii2. Call the tool from your `localhost:8080/gii/model`, and fill in the Table Name field with our existing table: `category`. Fill other fields with appropriate values, and don't forget to give a check to "Generate ActiveQuery" checklist item. This will generate another file that needs to be modified later.