Manage Books, Manage Authors: Make name mandatory (#519)

This commit is contained in:
Pierre Fritsch
2023-06-06 09:06:55 +02:00
committed by GitHub
parent 8b3a094d22
commit d612a560aa

View File

@@ -3,9 +3,9 @@ namespace sap.capire.bookshop;
entity Books : managed {
key ID : Integer;
title : localized String(111);
@mandatory title : localized String(111);
descr : localized String(1111);
author : Association to Authors;
@mandatory author : Association to Authors;
genre : Association to Genres;
stock : Integer;
price : Decimal;
@@ -15,7 +15,7 @@ entity Books : managed {
entity Authors : managed {
key ID : Integer;
name : String(111);
@mandatory name : String(111);
dateOfBirth : Date;
dateOfDeath : Date;
placeOfBirth : String;