User Tools

Site Tools


fw_branches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fw_branches [2025/03/04 06:03] gloriafw_branches [2025/03/11 11:49] (current) gloria
Line 1: Line 1:
-==== Introduction ==== +==== Purpose & Overview ====   
-This table stores details about various branches associated with clientsA single client can have multiple branches. The table includes branch-specific information such as name, codelocationwebsite, and branding elements like logos and invitation headers.+The **fw_branches** table manages branch-related details for each client  
 +Since a **client** can have multiple **branches**, this table ensures:   
 +  * Organized tracking of **branch identity** (name, unique code).   
 +  * Storage of **location website** details (if applicable).   
 +  * **Branding support** through logos invitation headers.   
 + 
 + 
 + 
 +==== Table Structure ====   
 + 
 +^Sr. No.^ **Column Name**        ^ **Data Type**    ^ **Description**                                                                ^   
 +|1| **id**                | Primary Key    | Unique identifier for each branch (auto-incremented).                          |   
 +|2| **clientid**          | Foreign Key    | References the **fw_clients** table (one client → many branches).              |   
 +|3| **branchname**        | varchar(100)   | Name of the branch.                                                            |   
 +|4| **branchcode**        | varchar(100)   | Unique identifier/code assigned to the branch (**must be unique**).            |   
 +|5| **location**          | varchar(100)   | Geographical location or address of the branch.                                 
 +|6| **website**           | varchar(100)   | Website URL of the branch (if applicable).                                    |   
 +|7| **questionnairelogo** | BLOB           | Logo used in questionnaires (**Recommended: 110x100 pixels**).                   
 +|8| **invitationheader**  | BLOB           | Header image for invitations (**Recommended: 120x32 pixels**).                   
 + 
 + 
 + 
 + 
  
-==== Table Structure ==== 
-^ **Name**                ^ **Type**        ^ **Comments**                                                                      ^ 
-| **id**                 | Primary        | Unique ID of the branch (auto-incremented).                                       | 
-| **clientid**           | Index          | ID of the client this branch belongs to. A client can have multiple branches.    | 
-| **branchname**         | varchar(100)   | Name of the branch.                                                              | 
-| **branchcode**         | varchar(100)   | Unique code assigned to the branch.                                              | 
-| **location**           | varchar(100)   | Geographical location or identifier of the branch.                              | 
-| **website**            | varchar(100)   | Website URL of the branch.                                                       | 
-| **questionnairelogo**  | blob           | Logo used in questionnaires (recommended size: 110x100 pixels).                  | 
-| **invitationheader**   | blob           | Header image for invitations (recommended size: 120x32 pixels).                   | 
  
-==== Example Data ==== 
-*A single client can have multiple branches. Below is an example dataset showcasing different branches of a client.* 
  
-^ **id** ^ **clientid** ^ **branchname**           ^ **branchcode** (Unique) ^ **location** ^ **website** ^ **questionnairelogo**          ^ **invitationheader**          ^ 
-| 5      | 1           | Swietelsky                | 3                        |              |                                          |                              | 
-| 3      | 1           | Zevenaar-Didam            | 1                        |              |                                          |                              | 
-| 4      | 1           | Groningen Spoorzone       | 2                        |              |                                          |                              | 
-| 6      | 1           | EdesPoort                 | 4                        |              |                                          |                              | 
-| 7      | 1           | Leeuwarden                | 4554                                  |                                          |                              | 
-| 8      | 1           | Maaslijn                  | 4848                                  |                                          |                              | 
  
fw_branches.1741068196.txt.gz · Last modified: 2025/03/04 06:03 by gloria