from dataclasses import dataclass
from dbt.adapters.base.column import Column


@dataclass
class SQLServerColumn(Column):
    @classmethod
    def string_type(cls, size: int) -> str:
        return "varchar({})".format(size)

    def is_string(self) -> bool:
        return self.dtype.lower() in ['text', 'character varying', 'character',
                                      'varchar', 'nvarchar']

from dataclasses import dataclass
from dbt.adapters.base.column import Column


@dataclass
class SQLServerColumn(Column):
    @classmethod
    def string_type(cls, size: int) -> str:
        return "varchar({})".format(size)

    def is_string(self) -> bool:
        return self.dtype.lower() in ['text', 'character varying', 'character',
                                      'varchar', 'nvarchar']
