58 lines
No EOL
931 B
Text
58 lines
No EOL
931 B
Text
@startuml
|
|
title Верхнеуровневые сущности сервиса Crowd
|
|
|
|
card api_concept{
|
|
entity "CrowdReport(APIObject)" as CRA{
|
|
+ id str
|
|
+ owner_id str
|
|
+ type str
|
|
+ name str
|
|
+ status str
|
|
+ created_at timestamp
|
|
+ updated_at timestamp
|
|
+ progress int
|
|
+ options dict
|
|
+ create() -> CrowdReport
|
|
}
|
|
}
|
|
|
|
card crowd_service{
|
|
card backend {
|
|
}
|
|
|
|
card bot_notifier {
|
|
}
|
|
|
|
card frontend {
|
|
card impl {
|
|
entity CrowdReport{
|
|
+ delete() -> None
|
|
+ create() -> CrowdReport
|
|
}
|
|
}
|
|
}
|
|
|
|
card node {
|
|
}
|
|
|
|
card protocols{
|
|
}
|
|
|
|
card report_builder{
|
|
}
|
|
|
|
card utils {
|
|
}
|
|
|
|
}
|
|
|
|
json options_dict {
|
|
"cameras": ["cam1", "cam2"],
|
|
"folders": ["folder1"],
|
|
"zones": ["zone1"]
|
|
}
|
|
|
|
CrowdReport ..|> CRA
|
|
CRA::options -- options_dict
|
|
|
|
@enduml |