etreschenkov 2025-08-29 16:09:47 +03:00
parent ee40eaf6b9
commit be519bc4c4
2 changed files with 2 additions and 0 deletions

View file

@ -140,6 +140,7 @@ public class CompanyValidationConfig {
addImdg.accept(IMDGDistributedNames.Map_LegalKindDictionary);
addImdg.accept(IMDGDistributedNames.Map_LegalKindDictionary);
addImdg.accept(IMDGDistributedNames.Map_OrganizationTypeDictionary);
addImdg.accept(IMDGDistributedNames.Map_ResidenceDictionary);
return new ValidatorImpl<>(context,
// FieldRequiredRule.instance("id", CommonDeleteRequest::getId, CompanyErrors.RequiredFieldEmpty),
IdPresentRule.instance("id",

View file

@ -57,6 +57,7 @@ public class ValidationConfig {
addImdg.accept(IMDGDistributedNames.Map_SettlementHouseProperties, SettlementHouseProperties.class);
addImdg.accept(IMDGDistributedNames.Map_CurrencyCodeDictionary, CurrencyCodeDictionary.class);
addImdg.accept(IMDGDistributedNames.Map_ResidenceDictionary, CurrencyCodeDictionary.class);
return imdg;
}