İki ayrı buton: Ana firma oluşturma ve mevcut firmaya şube bağlama
MZB-XXXXXXXXparent_id ile kayıt oluşur| user_id | Seçilen kullanıcı ID |
| parent_id | NULL |
| company_name | Girilen firma adı |
| corporate_code | MZB-XXXXXXXX (otomatik) |
| is_active | true |
| user_id | Şube sahibi kullanıcı ID |
| parent_id | Ana firma ID |
| company_name | Şube adı |
| corporate_code | NULL (şubelerde yok) |
| is_active | true |
Hangisini tercih edersiniz?