'int', 'id_country' => 'int', 'status' => 'bool' ]; protected $fillable = [ 'id_bank', 'id_country', 'adresse', 'code_banque', 'status' ]; public function bank() { return $this->belongsTo(Bank::class, 'id_bank'); } public function country() { return $this->belongsTo(Country::class, 'id_country'); } public function networks_banks() { return $this->hasMany(NetworksBank::class, 'id_bank_country'); } }