Org Company
JodGig::Company mapping to Org::Company Attributes
| Org::Company | JodGig::Company (or other source) |
|---|---|
| id | null |
| parent_company_id | null |
| country_id | hard code to Singapore's geo_country id in jodapp |
| name | name |
| primary_address | jodgig_company.address |
| postal_code | extract postal code from jodgig_company.address |
| use jodgig_company HQ user's email address if available, else use placeholder | |
| website_url | jodgig_company.website_url |
| description | jodgig_company.description |
| registration_no | jodgig_company.registration_no |
| is_enabled | jodgig_company.status |
| created_by | null, @todo: update this after user is migrated |
| updated_by | null, @todo: update this after user is migrated |
| created_at | jodgig_company.created_at |
| updated_at | jodgig_company.updated_at |
| is_deleted | jodgig_company.deleted_at.present? |
| is_deleted_at | jodgig_company.deleted_at |
| address_geo_area_id | determine general geo_area based on jodgig_company.address |
| uuid | SecureRandom.uuid |
| logo_original_filename | jodgig_company.company_logo_filename |
| logo_s3_path | generate_s3_path for JodApp after migrating logo from JodGig to JodApp |
| logo_extension | ::File.extname(jodgig_company.company_logo_filename) |
| slug | jodgig_company.slug |
| remote_id | jodgig_company.id |
Logo File (dated: 27 April 2026)
logo_s3_path have the same value as s3_key of Aws::S3 bucket API, which is the folder name, eg: "public/org/company/:uuid/logo.png", this is so that we can easily change our CDN without affecting the data in our DB.