Comparing
#2 with
#3
Content
[...]
public $baseClass='MasterAdmin';
```
Now, no need to write any code code for above mentioned 4 fields, MasterAdmin model will take care of it.
You can check more admin panel related help at [HERE](http://www.yiiframework.com/wiki/353/working-with-cgridview-in-admin-panel/ "Admin")
Happy Coding! :)