public static String getTableName(Class<?> pClazz) {
        Table table = pClazz.getAnnotation(Table.class);
        if (null != table) {
            return table.name();
        } else if (!Object.class.equals(pClazz.getSuperclass())) {
            return getTableName(pClazz.getSuperclass());
        }
        return StringUtil.EMPTY_STRING;
    }
public static String getTableName ( Class < ? > pClazz ) { Table table = pClazz . getAnnotation ( Table . class ) ; if ( null != table ) { return table . name ( ) ; } else if ( ! Object . class . equals ( pClazz . getSuperclass ( ) ) ) { return getTableName ( pClazz . getSuperclass ( ) ) ; } return StringUtil . EMPTY_STRING ; }
通过注解获取表名称

@param pClazz
@return