@classmethod
def map_relation_model(cls, model_class, result):
    """
        Map result to relational model data

        :type model_class: spannerorm.base_model.BaseModel
        :param model_class: relation model class

        :type result: dict
        :param result: result set

        :rtype: spannerorm.base_model.BaseModel
        :return:
        """
    table_name = model_class._meta().db_table
    column_prop_maps = cls.model_column_attr_maps(model_class, table_name)
    model_object = model_class()
    model_object._model_state().is_new = False
    for column_name in column_prop_maps:
        model_prop = getattr(model_object, column_prop_maps.get(column_name))
        model_prop.value = result.get(column_name)
    return model_object
