| Entity Name | Alias Name | Microservice | Data Schema |
| Country | Country | CountryService | Shop |
| CustomerDelivery | CustomerDelivery | ProductService | Shop |
| CustomerGroup | CustomerGroup | CountryService | Shop |
| CustomerGroupMember | CustomerGroupMember | CountryService | Shop |
| CustomerOrder | CustomerOrder | CountryService | Shop |
| Delivery | Delivery | CountryService | Shop |
| DiscountCampaign | DiscountCampaign | DiscountCampaignService | Shop |
| DiscountCampaignCustomer | DiscountCampaignCustomer | CountryService | Shop |
| DiscountCampaignCustomerGroup | DiscountCampaignCustomerGroup | DiscountCampaignService | Shop |
| OrderItem | OrderItem | ProductService | Shop |
| Product | Product | ProductService | Shop |
| ProductDelivery | ProductDelivery | ProductService | Shop |
| ProductPrice | ProductPrice | ProductService | Shop |
| PurchaseRule | PurchaseRule | ProductService | Shop |
| SalesTax | SalesTax | ProductService | Shop |
| ShopCustomer | ShopCustomer | CountryService | Shop |
| ShopEmployee | ShopEmployee | CountryService | Shop |
| Warehouse | Warehouse | CountryService | Shop |
| WarehouseResponsibility | WarehouseResponsibility | CountryService | Shop |
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Entity Name: Country
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| CountryCode | STRING | Country | |
| CountryName | STRING | Country | |
| PrimaryKey | LONG | Country | |
| ServerReplicationVersion | LONG | Country |
Pseudo code snippet
final Country country = (Country) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/country/" + id, Country.class);Entity Name: CustomerGroup
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| CreationDate | LONG | CustomerGroup | |
| Description | STRING | CustomerGroup | |
| GroupName | STRING | CustomerGroup | |
| PrimaryKey | LONG | CustomerGroup | |
| ServerReplicationVersion | LONG | CustomerGroup | |
| ShopOwner | LONG | CustomerGroup |
Pseudo code snippet
final CustomerGroup customergroup = (CustomerGroup) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/customergroup/" + id, CustomerGroup.class);Entity Name: CustomerGroupMember
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| CustomerGroup | LONG | CustomerGroupMember | CustomerGroup |
| PrimaryKey | LONG | CustomerGroupMember | |
| ServerReplicationVersion | LONG | CustomerGroupMember | |
| ShopCustomer | LONG | CustomerGroupMember | ShopCustomer |
| ShopOwner | LONG | CustomerGroupMember |
Pseudo code snippet
final CustomerGroupMember customergroupmember = (CustomerGroupMember) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/customergroupmember/" + id, CustomerGroupMember.class);Entity Name: CustomerOrder
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| OrderDate | LONG | CustomerOrder | |
| PrimaryKey | LONG | CustomerOrder | |
| Remarks | STRING | CustomerOrder | |
| ServerReplicationVersion | LONG | CustomerOrder | |
| ShopCustomer | LONG | CustomerOrder | ShopCustomer |
| ShopOwner | LONG | CustomerOrder |
Pseudo code snippet
final CustomerOrder customerorder = (CustomerOrder) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/customerorder/" + id, CustomerOrder.class);Entity Name: Delivery
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| Conditions | STRING | Delivery | |
| DeliveryDate | LONG | Delivery | |
| PrimaryKey | LONG | Delivery | |
| ServerReplicationVersion | LONG | Delivery | |
| ShopCustomer | LONG | Delivery | ShopCustomer |
| ShopOwner | LONG | Delivery |
Pseudo code snippet
final Delivery delivery = (Delivery) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/delivery/" + id, Delivery.class);Entity Name: DiscountCampaignCustomer
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| DiscountCampaign | LONG | DiscountCampaignCustomer | DiscountCampaign |
| MaxDiscounts | INT | DiscountCampaignCustomer | |
| PrimaryKey | LONG | DiscountCampaignCustomer | |
| ServerReplicationVersion | LONG | DiscountCampaignCustomer | |
| ShopCustomer | LONG | DiscountCampaignCustomer | ShopCustomer |
| ShopOwner | LONG | DiscountCampaignCustomer | |
| UsedDiscounts | INT | DiscountCampaignCustomer |
Pseudo code snippet
final DiscountCampaignCustomer discountcampaigncustomer = (DiscountCampaignCustomer) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/discountcampaigncustomer/" + id, DiscountCampaignCustomer.class);Entity Name: ShopCustomer
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| City | STRING | ShopCustomer | |
| Country | LONG | ShopCustomer | Country |
| FirstName | STRING | ShopCustomer | |
| LastName | STRING | ShopCustomer | |
| PrimaryKey | LONG | ShopCustomer | |
| ServerReplicationVersion | LONG | ShopCustomer | |
| ShopOwner | LONG | ShopCustomer | |
| Street | STRING | ShopCustomer |
Pseudo code snippet
final ShopCustomer shopcustomer = (ShopCustomer) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/shopcustomer/" + id, ShopCustomer.class);Entity Name: ShopEmployee
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| STRING | ShopEmployee | ||
| EmployeeName | STRING | ShopEmployee | |
| EncryptedPassword | STRING | ShopEmployee | |
| PrimaryKey | LONG | ShopEmployee | |
| ServerReplicationVersion | LONG | ShopEmployee | |
| ShowOwner | LONG | ShopEmployee | |
| UserName | STRING | ShopEmployee |
Pseudo code snippet
final ShopEmployee shopemployee = (ShopEmployee) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/shopemployee/" + id, ShopEmployee.class);Entity Name: Warehouse
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| City | STRING | Warehouse | |
| Country | LONG | Warehouse | Country |
| PrimaryKey | LONG | Warehouse | |
| ServerReplicationVersion | LONG | Warehouse | |
| ShopOwner | LONG | Warehouse | |
| Street | STRING | Warehouse | |
| WarehouseName | STRING | Warehouse |
Pseudo code snippet
final Warehouse warehouse = (Warehouse) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/warehouse/" + id, Warehouse.class);Entity Name: WarehouseResponsibility
Data Schema: Shop
Master Service: CountryService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| PrimaryKey | LONG | WarehouseResponsibility | |
| Remarks | STRING | WarehouseResponsibility | |
| ServerReplicationVersion | LONG | WarehouseResponsibility | |
| ShopEmployee | LONG | WarehouseResponsibility | ShopEmployee |
| ShopOwner | LONG | WarehouseResponsibility | |
| Warehouse | LONG | WarehouseResponsibility | Warehouse |
Pseudo code snippet
final WarehouseResponsibility warehouseresponsibility = (WarehouseResponsibility) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/warehouseresponsibility/" + id, WarehouseResponsibility.class);