---
# System prepended metadata

title: Entity Diagram Dashboard
tags: [BoilerPlate Dashboard]

---

---
tags: BoilerPlate Dashboard
---
# Entity Diagram Dashboard
```plantuml
@startuml


package platform_dashboard {
   
    entity config_auth {
    * entity_id uuid
    * client_id char(36) 
    --
    * auth_method char(10) (google_sso)
    * auth_method_config_key varchar(100) ()
    __
    auto_signup_enable bool not null
    create_user_endpoint text (http://platform-user.dev.internal/create)
    get_user_endpoint text (http://platform-user.dev.internal/{userid})
    --metadata--
    created_at datetime
    created_by char(36)
    updated_at datetime
    updated_by char(36)
    status enum(active,deleted)
}

entity user {
    entity_id uuid
    email varchar(255)
    name varchar(255)
    phone varchar(15)
    --client--
    client_id char(36)
    --metadata--
    created_at datetime
    created_by char(36)
    updated_at datetime
    updated_by char(36)
    status enum(active,inactive,deleted)
}
    
entity status_history {
    entity_id uuid
    table (user, config_auth)
    ref_id char(36)
    old_status text
    new_status text
    created_at datetime
    created_by varchar(36)
    }
    
entity user_create_management {
    entity_id uuid
    client_id char(36)
    create_role_endpoint text
    create_user_role_endpoint text
    default_role text,json
    default_menu text,json
    default_permission text,json
}
    
entity client {
    entity_id uuid
    ref_id char(36)
    provider char(10)
    name varchar(100)
}
    
    user::client_id||--||client::entity_id

}

skinparam class {
    BackgroundColor<<scam>> wheat
}

package scam {
    entity app_system_context <<scam>> {
        entity_id char(36)
        sys_ctx_code varchar(30)
        sys_ctx_name varchar(255)
        sys_ctx_description text
        is_active bool
        __metadata__
        ...
        
    }
    
    
}

app_system_context::entity_id ||--o{ client::ref_id
  client::entity_id ||--o{ config_auth::client_id  
user_create_management::client_id ||--|| client::entity_id
@enduml