Files
cloud-cap-samples/packages/media-server/index.cds
2019-10-24 12:03:37 +02:00

16 lines
383 B
Plaintext

namespace sap.capire.media;
service MediaServer {
entity Images {
key url : URL;
type : String enum { jpeg; png; gif; };
content : Image;
}
}
type ImageURL : URL;
// type ImageURL : Association to MediaServer.Images;
//> would need Assotiations targeting off service to turn into references w/ foreign keys
type Image : LargeBinary @stream;
type URL : String(222);