yii2 how to use gii?
To use Gii to generate an Active Record class, select the "Model Generator" (by clicking the link on the Gii index page). Then fill out the form as follows: Table Name: country. Model Class: Country.