Something went wrong. Try again.
A simple to-do app focused on tasks that can be completed within a specific time span. taskline.tobinio.dev
Something went wrong. Try again.
123456789101112131415161718192021222324//! `SeaORM` Entity, @generated by sea-orm-codegen 2.0
use sea_orm::entity::prelude::*;
#[sea_orm::model]#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)]#[sea_orm(table_name = "organization_user")]pub struct Model { #[sea_orm(primary_key, auto_increment = false)] pub organization_id: Uuid, #[sea_orm(primary_key, auto_increment = false)] pub user_id: String, #[sea_orm( belongs_to, from = "organization_id", to = "id", on_update = "Cascade", on_delete = "Cascade" )] pub organization: BelongsTo<super::organization::Entity>,}
impl ActiveModelBehavior for ActiveModel {}