use chrono::{DateTime, Utc};
use serde::Serialize;
use sqlx::FromRow;
use uuid::Uuid;
#[derive(Debug, Clone, Serialize, FromRow)]
pub struct EntityRelation {
pub id: Uuid,
pub from_entity_id: Uuid,
pub from_entity_type: String,
pub to_entity_id: Uuid,
pub to_entity_type: String,
pub relation_type: String,
pub created_at: DateTime<Utc>,
}