petshop-01-external-entities.spp
petshop/shared/petshop-01-external-entities.spp
Download original file · Petstore source contents
1domain petshop;23Reference Person from customer.Person {4business("Customer-domain subject registration number") String customerNumber;5String name;6String email;7String address;8}910Reference Product from product.Product {11business("Product catalogue number") String productCode;12String name;13String category;14String description;15BigDecimal(9, 2) cost;16}1718Reference CatalogProduct from product.CatalogProduct {19String sku;20String name;21String category;22String description;23boolean active;24}2526take Goods as CatalogProduct {27mapsame;28}2930take Buyer as Person {31mapsame;32}3334take Merchant as Person {35mapsame;36}