A brand in T-Gate's platform represents a distinct product line or business identity within a company. It serves as an organizational unit that groups multiple branches together. This structure helps companies manage and categorize their operations efficiently under one unified identity.
For more details on the hierarchical structure and how different entities relate to each other, please refer to General → High Level Structure Guides.
Model Attributes
Attribute | Description | Type |
---|---|---|
id | the unique identifier of that table entity | Integer |
logo | Brand Logo URL | String or null |
commercial_record | Brand Commercial record | String or null |
about_en | About Brand in English | String or null |
about_ar | About Brand in Arabic | String or null |
name_en | Brand name in English | String |
name_ar | Brand name in Arabic | String or null |
branch_ids | Array of Ids, This array represents the ids of all branches under that brand. This attribute is useful for linking a brand with it's corresponding branches | Integer Array |
brand_type | JSON object that contains English and Arabic names that represents the brand type (e.g. Personal brand, Service brand ...etc). | Object or null |
cuisine_types | JSON array that represents all the cuisine types this brand offers (English and Arabic names) | Object Array |
branch_idsT-Gate adds a bi-directional link between brands and their branches to allow applications to fetch and link data in the order that best suits their needs.
This means if you navigate to the branch entity using the branch_id found in a brand, you will find the id of that brand in the brand_ids array. This bi-directional link ensures that you can start from either the brand or the branch and establish their relationship effectively.