public function getBitwiseAttribute()
    {
        $bitwise = 0;

        foreach ($this->attributes as $key => $value) {
            if ($value) {
                $bitwise |= (1 << $this->bitwise[$key]);
            } else {
                $bitwise &= ~(1 << $this->bitwise[$key]);
            }
        }

        return $bitwise;
    }