Prototype

This commit is contained in:
Shiroyasha 2024-12-11 12:31:54 +03:00
commit 2844bb9149
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
19 changed files with 5483 additions and 0 deletions

16
entity/src/moderators.rs Normal file
View file

@ -0,0 +1,16 @@
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.2
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "moderators")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub uid: String,
pub created_at: DateTime,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}