@Override
    public Class<AuditTrailEntity> getType() {
        return (Class<AuditTrailEntity>) getEntityClass();
    }
This is {@link JdbcAuditTrailEntityFactory}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-audit-jdbc/src/main/java/org/apereo/cas/audit/JdbcAuditTrailEntityFactory.java