-use crate::{schema::comment_report, source::comment::Comment, CommentId, PersonId};
+use crate::{
+ schema::comment_report,
+ source::comment::Comment,
+ CommentId,
+ CommentReportId,
+ PersonId,
+};
use serde::{Deserialize, Serialize};
#[derive(
#[belongs_to(Comment)]
#[table_name = "comment_report"]
pub struct CommentReport {
- pub id: i32,
+ pub id: CommentReportId,
pub creator_id: PersonId,
pub comment_id: CommentId,
pub original_comment_text: String,