added getter and setter automation and added translation for database fields