@staticmethod
def _from_db_method(quota_class, db_quota_class):
    """Convert a database entity to a format object"""
    for field in quota_class.fields:
        if field == 'uuid':
            continue
        setattr(quota_class, field, db_quota_class[field])
    quota_class.obj_reset_changes()
    return quota_class
