pdm binding

This commit is contained in:
Wolfgang Koch
2020-11-13 12:02:01 +01:00
parent ba015431bd
commit a14c0e4eeb
2 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
using { sap.capire.bookshop } from './schema';
// annotations for Data Privacy
annotate bookshop.Customers with @PersonalData.DataSubjectRole: 'Customer';
annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject'
{
ID @PersonalData.FieldSemantics: 'DataSubjectID';
@@ -12,6 +13,7 @@ annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject'
dateOfBirth @PersonalData.IsPotentiallyPersonal;
}
annotate bookshop.CustomerPostalAddress with @PersonalData.DataSubjectRole: 'Customer';
annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'DataSubjectDetails'
{
Customer @PersonalData.FieldSemantics: 'DataSubjectID';