16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
using {managed} from '@sap/cds/common';
|
|
using {sap.capire.bookshop} from '@capire/bookshop';
|
|
|
|
namespace sap.capire.graphql;
|
|
|
|
extend bookshop.Books with {
|
|
chapters : Composition of many Chapters
|
|
on chapters.book = $self;
|
|
}
|
|
|
|
entity Chapters : managed {
|
|
key book : Association to bookshop.Books;
|
|
key number : Integer;
|
|
title : String;
|
|
}
|