pdm service

This commit is contained in:
Wolfgang Koch
2020-10-13 17:04:59 +02:00
parent c7e1bb1d0a
commit bde5cd9818
2 changed files with 45 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
using from '@capire/bookshop';
using { sap.capire.bookshop as db } from '../db/schema';
@requires: 'system-user'
service GDPRService {
service PDM_Service {
entity Customers as projection on db.Customers;
@@ -13,4 +16,15 @@
Items.book.ID as Item_Book_ID,
Items.amount as Item_Amount,
Items.netAmount as Item_NetAmount};
};
annotate PDM_Service.Customers with @(
PersonalData.EntitySemantics: 'DataSubject'
)
{
ID @PersonalData.FieldSemantics: 'DataSubjectID';
FirstName @PersonalData.IsPotentiallyPersonal;
LastName @PersonalData.IsPotentiallyPersonal;
CreditCardNo @PersonalData.IsPotentiallyPersonal;
dateOfBirth @PersonalData.IsPotentiallyPersonal;
};