@classmethod
def _add_attribute_mapper(cls, mapper):
    """
        set the model attribute definition for an attribute
        """
    if cls.__name__ not in cls._attribute_mappers:
        cls._attribute_mappers[cls.__name__] = []
    cls._attribute_mappers[cls.__name__].insert(0, mapper)
