14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
using {sap.capire.bookshop as my} from '../db/schema';
|
|
|
|
service AdminService // @(requires : 'admin')
|
|
{
|
|
entity Books as projection on my.Books;
|
|
entity Authors as projection on my.Authors;
|
|
action renameAuthor(author : Authors:ID, newName : String);
|
|
|
|
event newBook : {
|
|
book : Books:ID;
|
|
name : Books:title
|
|
};
|
|
}
|