public AppAuthDO mapToEntity(final AppAuthDTO appAuthDTO) {
        return Optional.ofNullable(appAuthDTO)
                .map(v -> {
                    AppAuthDO.AppAuthDOBuilder appAuthDO = AppAuthDO.builder();
                    appAuthDO.id(v.getId());
                    appAuthDO.appKey(v.getAppKey());
                    appAuthDO.appSecret(v.getAppSecret());
                    appAuthDO.enabled(v.getEnabled());
                    appAuthDO.open(v.getOpen());
                    appAuthDO.userId(v.getUserId());
                    appAuthDO.phone(v.getPhone());
                    appAuthDO.extInfo(v.getExtInfo());
                    appAuthDO.namespaceId(v.getNamespaceId());
                    return appAuthDO.build();
                })
                .orElse(null);
    }
Map to entity app auth do.

@param appAuthDTO the app auth dto
@return the app auth do
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/AppAuthTransfer.java