use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct RoomMessageEditHistoryModel {
    pub id: Uuid,
    pub message: Uuid,
    pub seq: i64,
    pub editor: Uuid,
    pub old_content: String,
    pub new_content: String,
    pub edited_at: DateTime<Utc>,
}
