public function style(Model $model, $source)
    {
        if ( ! $this->attributeData) {
            return null;
        }

        switch ($this->attributeData->cast) {

            case AttributeCast::INTEGER:
            case AttributeCast::FLOAT:
                return 'column-right';

            case AttributeCast::DATE:
                return 'column-date';

            // default omitted on purpose
        }

        return null;
    }