15 lines
359 B
Rust
15 lines
359 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 IssueReferenceModel {
|
|
pub id: Uuid,
|
|
pub issue: Uuid,
|
|
pub target_type: String,
|
|
pub target_id: Uuid,
|
|
pub created_by: Uuid,
|
|
pub created_at: DateTime<Utc>,
|
|
}
|