Records class for accessing database columns as members of an object