(database: project): replace ES6 get/set with getter/setter.