+#[derive(Insertable, AsChangeset)]
+#[table_name = "mod_hide_community"]
+pub struct ModHideCommunityForm {
+ pub community_id: CommunityId,
+ pub mod_person_id: PersonId,
+ pub hidden: Option<bool>,
+ pub reason: Option<String>,
+}
+#[derive(Clone, Queryable, Identifiable, PartialEq, Debug, Serialize, Deserialize)]
+#[table_name = "mod_hide_community"]
+pub struct ModHideCommunity {
+ pub id: i32,
+ pub community_id: CommunityId,
+ pub mod_person_id: PersonId,
+ pub reason: Option<String>,
+ pub hidden: Option<bool>,
+ pub when_: chrono::NaiveDateTime,
+}
+