fix #424: add schema bulk VPD policy apply
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.cloudhandson.vpdbackoffice.domain.vpd;
|
||||
|
||||
public record VpdBulkApplyResult(
|
||||
int total,
|
||||
int created,
|
||||
int skipped,
|
||||
int failed
|
||||
) {
|
||||
|
||||
public String summary() {
|
||||
return "VPD bulk 적용 완료: 대상 " + total + "개, 등록 " + created
|
||||
+ "개, 건너뜀 " + skipped + "개, 실패 " + failed + "개";
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import java.util.List;
|
||||
|
||||
public record VpdPolicyFormOptions(
|
||||
List<String> policyNames,
|
||||
List<String> schemaOwners,
|
||||
List<String> owners,
|
||||
List<VpdFunctionOption> functions,
|
||||
List<String> statementTypes
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.cloudhandson.vpdbackoffice.domain.vpd;
|
||||
|
||||
public record VpdSchemaObjectOption(
|
||||
String owner,
|
||||
String objectName,
|
||||
String objectType
|
||||
) {
|
||||
}
|
||||
Reference in New Issue
Block a user