public static DataPermissionDO buildCreatePermissionDO(final String dataId, final String userId, final Integer dataType) {

        Timestamp currentTime = new Timestamp(System.currentTimeMillis());

        return DataPermissionDO.builder()
                .userId(userId)
                .dataId(dataId)
                .dataType(dataType)
                .id(UUIDUtils.getInstance().generateShortUuid())
                .dateCreated(currentTime)
                .build();
    }
build permission do by RuleDO and user id.
@param dataId rule id
@param userId user id
@param dataType data type
@return {@linkplain DataPermissionDO}
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/entity/DataPermissionDO.java