Datasets:
Tags:
License:
text
stringclasses 1
value |
---|
### Human: ## Project Structure
### Namespace
sap.sample.abc
### ./db/db.cds
#### Entity(main): Book
| field | type |
| --- | --- |
| key ID | UUID |
| name | String(100) |
| categories | Associate to many Categories |
| author | Associate to one Author |
#### Entity(Association): Category
| field | type |
| --- | --- |
| key ID | UUID |
| name | String(100) |
#### Entity(Association): Author
| field | type |
| --- | --- |
| key ID | UUID |
| name | String(100) | ### Assistant: ```./db/db.cds
namespace sap.sample.abc
entity Book : cuid, managed {
name: String(100);
categories: Association to many Category via BookCategory.book;
author: Association to Author;
}
entity Category: cuid, managed {
name: String(100);
}
annotate Category {
ID @title: 'ID' @mandatory
name @title: 'Name'
}
``` |
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 1