do something like this in your seeder
factory(App\Asset::class, 1000)->create()->each(function ($asset) {
factory(\App\AssetType::class, 1000)->create(['asset_id'=>$asset->id]);
factory(\App\AssetModel::class, 1000)->create(['asset_id'=>$asset->id]);
});
edit with client as well:
factory(App\Client::class, 1000)->create()->each(function ($client) {
factory(App\Asset::class, 1000)->create(['client_id'=>$client->id])->each(function ($asset) {
factory(\App\AssetType::class, 1000)->create(['asset_id'=>$asset->id]);
factory(\App\AssetModel::class, 1000)->create(['asset_id'=>$asset->id]);
});
});
edit you wouldnt have asset type_id and asset_model_id on assets table but have them as a relationship so that a client has a asset that has a types and models.
Hope that helps!