Easy way to write attributes for DB based Object.