17 lines
420 B
Rust
17 lines
420 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
|
pub struct CustomEmoji {
|
|
pub id: Uuid,
|
|
pub workspace_id: Uuid,
|
|
pub name: String,
|
|
pub url: String,
|
|
pub animated: bool,
|
|
pub managed: bool,
|
|
pub created_by: Uuid,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
}
|