added quantity property to attribute entity