signer-crdt 0.4.1

Signer CRDT (Conflict-free Replicated Data Type) package.
Documentation
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.12

use sea_orm::entity::prelude::*;

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "message")]
pub struct Model {
    #[sea_orm(primary_key, auto_increment = false)]
    pub id: String,
    pub parent_id: Option<String>,
    pub content: String,
    #[sea_orm(primary_key, auto_increment = false)]
    pub chat_key: String,
    #[sea_orm(primary_key, auto_increment = false)]
    pub chat_variant: String,
    #[sea_orm(primary_key, auto_increment = false)]
    pub user_key: String,
    pub receiver_keys: String,
    pub create_time: DateTime,
    pub parent_user_key: Option<String>,
    pub content_type: String,
}

#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}

impl ActiveModelBehavior for ActiveModel {}