def _validate_entity_class_fields(cls: Type, name: str, module_name: str) -> None:
    """Validate that all fields in an entity class use Pydantic Fields with descriptions.

    Args:
        cls: The entity class to validate
        name: The name of the entity class
        module_name: The name of the module containing the entity class

    Raises:
        ValueError: If any field is not defined using Pydantic Field with a description
    """
    # We need to check the actual class annotations, not inherited ones
    if hasattr(cls, "__annotations__"):
        direct_annotations = cls.__annotations__

        # Get all fields from the class and only validate those in direct_annotations
        for field_name, field_info in cls.model_fields.items():
            # Skip internal fields that start with underscores
            if field_name.startswith("_"):
                continue

            # Skip fields that are not directly defined in this class
            if field_name not in direct_annotations:
                continue

            # Check that the field is defined using Pydantic Field
            if not hasattr(field_info, "description") or not field_info.description:
                raise ValueError(
                    f"Entity '{name}' in module '{module_name}' has field '{field_name}' "
                    f"without a Pydantic Field description. All entity fields must use "
                    f"Field with a description parameter."
                )
Validate that all fields in an entity class use Pydantic Fields with descriptions.

    Args:
        cls: The entity class to validate
        name: The name of the entity class
        module_name: The name of the module containing the entity class

    Raises:
        ValueError: If any field is not defined using Pydantic Field with a description
    
backend/airweave/platform/db_sync.py