'int', 'id_networkAgent' => 'int', 'status' => 'int' ]; protected $fillable = [ 'country_id', 'name', 'id_networkAgent', 'status' ]; public function config_wallets() { return $this->hasMany(ConfigWallet::class, 'id_network'); } public function identifications() { return $this->hasMany(Identification::class, 'idNetwork'); } public function wallets_password() { return $this->hasOne(WalletsPassword::class); } public function country() { return $this->belongsTo(Country::class, 'country_id'); } }