class entity