17 lines
432 B
Rust
17 lines
432 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use sqlx::FromRow;
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
|
|
pub struct AiModelDiscussionModel {
|
|
pub id: Uuid,
|
|
pub model: Uuid,
|
|
pub user: Uuid,
|
|
pub parent: Option<Uuid>,
|
|
pub body: String,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
pub deleted_at: Option<DateTime<Utc>>,
|
|
}
|