In this short article, we look at a sample ERD Diagram which is designed using ER-Assistant software (usage of this software is covered here: How To Use ER Assistant) after we have finished with the Conceptual Modeling.

Hence in the first place, we have to gather some Data requirements. This involves business logic and requirements, in this case, our Drop Shipping business model.

 

We will deduce our entities and attributes from the gathered data and find out how these entities relate to each other and play a part in our overall business.

 

All these form part of our Conceptual Model aspect.

In identifying Entities, we will look for NOUNS. Nouns are all first treated as attributes UNLESS there are more details mentioned about the NOUN in which case the noun-attribute will now be converted to an ENTITY.

Eg. Product will be first treated as an attribute of Supplier Entity until we get more details about the Product such as Product price, Quantity, SKU, Product Name, Product Description etc

 

In our Drop Shipping model we will identify the following ENTITIES

  1. Amazon ( one of the marketplaces where will sell our products)
  2. eBay ( one of the marketplaces where will sell our products)
  3. Employee
  4. Linnworks (An Order Management System we will use retrieve and sync our orders with eBay and Amazon)
  5. PaymentSystems
  6. Phone
  7. Product
  8. RegistrationDetails
  9. Supplier

 

The following list shows the relationship among these entities and their cardinalities

  1. PRODUCT  —>  SUPPLIER
    1. Product is sold by only one supplier
    2. Supplier can sell one or more products

 

2.PRODUCT     —>    EMPLOYEE

  1. Product can be listed by only one employee
  2. Employee can list none or more products

 

3.PRODUCT      —>    EBAY

  1. Ebay account can have zero or more products
  2. Product can be present on an ebay account or none

 

4.PRODUCT   —>   AMAZON

  1. Ebay account can have zero or more products
  2. Product can be present on an AMAZON account or none

 

5.PRODUCT    —>  LINNWORKS

  1. Linnworks can have zero or more products
  2. none or more products can be in Linnworks

 

  1. SUPPLIER —> REGDETAILS
    1. Supplier can have only one registration details
    2. Registration details can be used to register on zero or more suppliers
    3. (SAME AS PHONE)

 

  1. EBAY  —> REGDETAILS
    1. EBAY account can have only one registration detail
    2. Same Registration details can be used to register on 1 or more ebay accounts
    3. (SAME AS PHONE)

 

  1. AMAZON —> REGDETAILS
    1. AMAZON account can have only one registration detail
    2. Same Registration details can be used to register on 1 or more ebay accounts
    3. (SAME AS PHONE)

 

  1. SUPPLIER  —>  PAYMENTSYS
    1. Supplier can have ONE or more payment systems
    2. Payment system can be used on no supplier or more suppliers

 

  1. EBAY   —> PAYMENTSYS
    1. EBAY can have ONE or more payment systems
    2. Payment system can be used on no EBAY or more EBAY ACCOUNTS

 

  1. AMAZON  —>  PAYMENTSYS
    1. AMAZON can have ONE or more payment systems
    2. Payment system can be used on no AMAZON or more EBAY ACCOUNTS

 

  1. EMPLOYEE  —>  AMAZON
    1. AMAZON manages zero or more Amazon accounts
    2. Amazon account is managed by one or more employees

 

 

  1. EMPLOYEE  —>   EBAY
    1. EBAY manages zero or more Amazon accounts
    2. EBAY account is managed by one or more employees

 

  1. EMPLOYEE   —>  SUPPLIER
    1. SUPPLIER manages zero or more Amazon accounts
    2. SUPPLIER account is managed by one or more employees

 

14.ORDER    —>      PRODUCT

  1. order can have 1 more products
  2. product can be present in order multiple times or or not

 

  1. ORDER   —>  EMPLOYEE
    1. Order can be handled by none or more employees
    2. Employee can handle no or more orders

The ER Assistant was used to design and establish the relationship in the ERD.

 

Note that Conceptual Modeling and ERD Transformation are iterative processes which means we need to be re-gathering more business logics and more data to solve any ambiguities which first existed and also to refine our model to capture all relevant business concepts.

 

A Resulting ERD sample from our Drops Shipping model is as below:

 

Summary:

In this short guide, we learnt

  1. Overview of initial phase of ER Diagram which is Data requirement gathering and basics of Conceptual Modeling
  2. Simple basics of identifying entities
  3. A tool you can use to draw your ER Diagrams
  4.  A sample ER Diagram depicting a simple Drop Shipping Model

 

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *