'int', 'id_country' => 'int', 'status' => 'bool' ]; protected $fillable = [ 'id_operator', 'id_country', 'adresse', 'code', 'status' ]; public function operator() { return $this->belongsTo(Operator::class, 'id_operator'); } public function country() { return $this->belongsTo(Country::class, 'id_country'); } public function networks_operators() { return $this->hasMany(NetworksOperator::class, 'id_operator_country'); } }