69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
@startuml "Generierte Klassen"
|
|
|
|
class Film {
|
|
id: int
|
|
..
|
|
title: string
|
|
description: string
|
|
duration: int
|
|
image: string
|
|
rating: short
|
|
..
|
|
category: Filmkategorie
|
|
}
|
|
|
|
abstract class Command {}
|
|
|
|
class CommandGetFilm {
|
|
id: int
|
|
}
|
|
CommandGetFilm -up-|> Command
|
|
|
|
class CommandCreateFilm {
|
|
}
|
|
CommandCreateFilm -up-|> Command
|
|
CommandCreateFilm -down-> "1" Film : create
|
|
|
|
class CommandUpdateFilm {
|
|
}
|
|
CommandUpdateFilm -up-|> Command
|
|
CommandUpdateFilm -down-> "1" Film : update
|
|
|
|
class CommandDeleteFilm {
|
|
}
|
|
CommandDeleteFilm -up-|> Command
|
|
CommandDeleteFilm -down-> "1" Film : delete
|
|
|
|
class CommandGetFilmResponse {
|
|
}
|
|
CommandGetFilmResponse -up-|> Command
|
|
CommandGetFilmResponse -up-> "1" Film : film
|
|
|
|
class CommandCreateFilmResponse {
|
|
}
|
|
CommandCreateFilmResponse -up-|> Command
|
|
CommandCreateFilmResponse -up-> "1" Film : created
|
|
|
|
class CommandDeleteFilmResponse {
|
|
}
|
|
CommandDeleteFilmResponse -up-|> Command
|
|
CommandDeleteFilmResponse -up-> "1" Film : deleted
|
|
|
|
class CommandUpdateFilmResponse {
|
|
}
|
|
CommandUpdateFilmResponse -up-|> Command
|
|
CommandUpdateFilmResponse -up-> "1" Film : updated
|
|
|
|
class CommandListFilm {
|
|
filters: List<String>
|
|
}
|
|
CommandListFilm -up-|> Command
|
|
|
|
class CommandListFilmResponse {
|
|
}
|
|
CommandListFilmResponse -up-|> Command
|
|
CommandListFilmResponse -up-> "0..*" Film : list
|
|
|
|
'Todo: Methoden + Processor + einiges mehr evtl.?
|
|
|
|
@enduml |