Files
cloud-cap-samples/fiori/db/common.cds
Christian Georgi babb5780b0 Refactor db parts
2022-06-28 09:11:39 +02:00

15 lines
472 B
Plaintext

namespace sap.capire.bookshop;
using { sap.capire.bookshop } from '@capire/bookstore/srv/mashup';
entity GenreHierarchy : bookshop.Genres {
hierarchyLevel : Integer default 0;
drillState : String default 'leaf';
parent : Association to GenreHierarchy;
children : Composition of many GenreHierarchy on children.parent = $self;
}
extend service CatalogService with {
@readonly entity GenreHierarchy as projection on bookshop.GenreHierarchy;
}