feat: init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct PrReviewComment {
|
||||
pub id: Uuid,
|
||||
pub review_id: Uuid,
|
||||
pub pull_request_id: Uuid,
|
||||
pub author_id: Uuid,
|
||||
pub body: String,
|
||||
pub path: String,
|
||||
pub line: Option<i32>,
|
||||
pub original_line: Option<i32>,
|
||||
pub start_line: Option<i32>,
|
||||
pub original_start_line: Option<i32>,
|
||||
pub diff_hunk: Option<String>,
|
||||
pub in_reply_to_id: Option<Uuid>,
|
||||
pub edited_at: Option<DateTime<Utc>>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user