Entity definition