//! Entity type — a node in the knowledge graph with optional properties and embedding.
usecrate::core::types::{EntityId, Properties};/// A node in the knowledge graph.
#[derive(Debug, Clone)]pubstructEntity{/// Unique identifier of this entity.
pubid: EntityId,
/// Semantic type label (e.g. `"Person"`, `"Concept"`).
pubentity_type: String,
/// Human-readable name of the entity.
pubname: String,
/// Arbitrary key-value metadata attached to this entity.
pubproperties: Properties,
/// Optional dense vector representation used for similarity search.
pubembedding:Option<Vec<f32>>,
/// Unix timestamp (ms) when this entity was stored.
pubcreated_at:i64,
}