Entity class structure