Overriding Tablename() Method In Ar Model

I’ve noticed that tableName() method is overridden in the default template of Gii AR model generator.

On the other hand in the User model in Advanced Application Template there is used a parent method of ActiveRecord class which generates the table name dynamically from the model class name.

Is there a reason why the default Gii template overrides the parent method?

in Gii you specify the table name directly so it can not be auto generated.

in advanced app the default name is equal to the auto generated name.

Thank you for the explanation.