Set type of recipe and meal when return from db.