class PendingConfirmationResponse:
    """Response DTO for hydrated pending confirmation data."""
    def __init__(self, _id, child_id, child_name, child_image_id,
                 entity_id, entity_type, entity_name, entity_image_id,
                 status='pending', approved_at=None):
        self.id = _id
        self.child_id = child_id
        self.child_name = child_name
        self.child_image_id = child_image_id
        self.entity_id = entity_id
        self.entity_type = entity_type
        self.entity_name = entity_name
        self.entity_image_id = entity_image_id
        self.status = status
        self.approved_at = approved_at

    def to_dict(self):
        return {
            'id': self.id,
            'child_id': self.child_id,
            'child_name': self.child_name,
            'child_image_id': self.child_image_id,
            'entity_id': self.entity_id,
            'entity_type': self.entity_type,
            'entity_name': self.entity_name,
            'entity_image_id': self.entity_image_id,
            'status': self.status,
            'approved_at': self.approved_at
        }
