Повторение материала и проверка знаний работников по направлениям деятельности
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.8 KiB

3 weeks ago
@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<Attampt>
--
getters
setters
}
' сущность Попытки входа
class Attampt {
- id : Long
- sessionId : String
--
getters
setters
}
}
package repository {
interface RemoteRepository{
- client : WebClient
--
+ organizationsPage() Page<Organization>
+ organizationsList() List<Organization>
+ positions() List<Position>
+ positions(Organization org) Page<Position>
}
class RemoteRepositoryImpl{
- client : WebClient
--
+ organizationsPage() Page<Organization>
+ organizationsList() List<Organization>
+ positions() List<Position>
+ positions(Organization org) Page<Position>
}
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