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 |
Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
/shopemployee/{id} | DELETE | deleteShopEmployeeById(id) | CountryService | ShopEmployee |
/shopemployee | GET | findAllShopEmployee() | CountryService | ShopEmployee |
/shopemployee/{id} | PUT | updateShopEmployeeById(shopemployee) | CountryService | ShopEmployee |
/warehouseresponsibility/shopemployee/{id} | GET | findAllWarehouseResponsibilityOfShopEmployee(id) | CountryService | ShopEmployee WarehouseResponsibility |
/shopemployee | POST | insertShopEmployee(shopemployee) | CountryService | ShopEmployee |
/shopemployee/{id} | GET | findShopEmployeeById(id) | CountryService | ShopEmployee |
Pseudo code snippet
final ShopEmployee shopemployee = (ShopEmployee) this.callMicroservice(ServiceNames.COUNTRY_SERVICE + "/shopemployee/" + id, ShopEmployee.class);