Fix namespace and class name
fix misconfigured property
SecurityRight should extend BaseEntity