# Component-Gateway Mapping

The Component-Gateway Mapping form one of the primary tables for it provides the mapping information between the gateway components and the corresponding gateway. In the event of a trade, this table is pre-mapped with the Gateway Component and Gateways tables that defines the flow of information through the respective gateway.

**Usage Instances:** Need Info

The fields for the Component-Gateway mapping table are:

**Table Name:&#x20;*****ComponentGatewayMapping***

| **Column Name** | **Data Type** | **Valid Values** | **Allow Nulls** | **Description**                                                                      |
| --------------- | ------------- | ---------------- | --------------- | ------------------------------------------------------------------------------------ |
| PK\_MapID       | int identity  |                  | No              | The Map ID is assigned corresponding to each component-gateway mapping.              |
| FK\_ComponentID | int           |                  | Yes             | The field contains the component ID and is linked with the Gateway Components table. |
| FK\_GatewayID   | int           |                  | Yes             | The field contains the gateway ID and is linked with the Gateways table.             |
| LastUpdatedtime | datetime      | (getutcdate())   | Yes             | The time when the last update took place.                                            |
