@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        PermissionDO that = (PermissionDO) o;
        return Objects.equals(objectId, that.objectId) && Objects.equals(resourceId, that.resourceId);
    }
build Permission DO.

@param permissionDTO {@linkplain PermissionDTO}
@return {@linkplain PermissionDO}
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/entity/PermissionDO.java