Adding implementation of method __repr__ for DB models

Change-Id: I5ba1009a4ebf02b3da826c6dd5e78aa0ec9412f4