@startuml package models { ' сущность Организация class Organization { - id : Long - name: String -- getters setters } ' сущость Должность class Position { - id : Long - name : String - organization : Organization -- getters setters } ' сущность Аккаунт class Account { - id : Long - code35 : String - position : Position - attampt : List -- getters setters } ' сущность Попытки входа class Attampt { - id : Long - sessionId : String -- getters setters } } package repository { interface RemoteRepository{ - client : WebClient -- + organizationsPage() Page + organizationsList() List + positions() List + positions(Organization org) Page } class RemoteRepositoryImpl{ - client : WebClient -- + organizationsPage() Page + organizationsList() List + positions() List + positions(Organization org) Page } RemoteRepositoryImpl -> RemoteRepository } package controllers{ class MainframeController { {static} log : Logger - repo : RemoteRepository -- + getMainframe() : String } class AuthController { {static} log : Logger } } Position o-- Organization Account o-- Position Account o-- Attampt MainframeController o-- RemoteRepository AuthController o-- RemoteRepository @enduml