model ConnectedDispatcher {
    id                 Int       @id @default(autoincrement())
    userId             String
    publicUser         Json
    lastHeartbeat      DateTime  @default(now())
    loginTime          DateTime  @default(now())
    esimatedLogoutTime DateTime?
    logoutTime         DateTime?

    // relations:
    user User @relation(fields: [userId], references: [id])
}
