Add hascode() method to generate moviePoster id.