class AnnotationUtils {

    public static String annotatedAlias(Class<? extends BaseDB> cls) {
        DBAnnotation annotation = cls.getAnnotation(DBAnnotation.class);
        return annotation == null ? null : annotation.tableNameAlias();
    }

}