rm tree table in catalogservice
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using { sap.capire.bookshop as my } from '../db/schema';
|
||||
using {my.common.Hierarchy as Hierarchy} from './hierarchy';
|
||||
|
||||
extend my.Genres with Hierarchy;
|
||||
service CatalogService @(path:'/browse') {
|
||||
|
||||
/** For displaying lists of Books */
|
||||
@@ -13,9 +11,6 @@ service CatalogService @(path:'/browse') {
|
||||
author.name as author
|
||||
} excluding { createdBy, modifiedBy };
|
||||
|
||||
@readonly
|
||||
entity GenreHierarchy as projection on my.Genres;
|
||||
|
||||
@requires: 'authenticated-user'
|
||||
action submitOrder ( book: Books:ID, quantity: Integer ) returns { stock: Integer };
|
||||
event OrderedBook : { book: Books:ID; quantity: Integer; buyer: String };
|
||||
|
||||
Reference in New Issue
Block a user