I have a table(tbl_brand) with five fields and i want to make model and collection for that table. Is it necessary to have all field s attributes in model?
yes you need to have attributes in model for every field in database table. Otherwise it wont work.