@startuml

skinparam class {
	BackgroundColor PaleGreen
	BorderColor Green
	ArrowColor black
	FontSize 28
	BackgroundColor<<USP>> Pink
	BorderColor<<USP>> HotPink
}

skinparam backgroundColor Linen
skinparam linetype ortho
skinparam shadowing true
skinparam minClassWidth 200
skinparam LegendBackgroundColor Strategy
skinparam LegendBorderThickness 0
skinparam LegendFontSize 20
skinparam defaultFontSize 20
skinparam Padding 8
skinparam Nodesep 150
skinparam ArrowThickness 2
skinparam ArrowColor DarkSlateGray

hide methods
hide empty members
hide circle

package "frag.jetzt | domain diagram" <<Frame>> {

class GuestUser {
}

class RegisteredUser {
  email
  password
}

GuestUser -left-|> User
RegisteredUser -up-|> User

class SessionParticipant {
}

class TemporalSessionHolder {
}

SessionParticipant -left-|> GuestUser
TemporalSessionHolder -up-|> GuestUser

class Moderator <<USP>> {
}

class BonusParticipant <<USP>> {
}

class PermanentSessionHolder{
}

PermanentSessionHolder -left-|> RegisteredUser
Moderator -up-|> RegisteredUser
Moderator -down- Session :assigned to >
BonusParticipant -right-|> RegisteredUser

class Session {
  id
  name
  description
  holder
  moderators
  }

class Question {
  votes
}

class Status {
  affirmed
  negated
  bonus
  discussed
}

Status -up- Question

class Board {
  helpPage
}

class QuestionBoard {
  counter
  search
  sorting
  filtering
  displayThreshold
}

class ModeratorBoard {
  counter
  search
  sorting
  filtering
}

Session *-right- Board
QuestionBoard -up-|> Board
ModeratorBoard -up-|> Board
Question -right-o QuestionBoard
ModeratorBoard o-down- BannedQuestion

}

legend right
  |<img:https://git.thm.de/arsnova/arsnova-lite/raw/staging/src/assets/icons/Logo_frag_jetzt_128x128.png> |= \n\n »frag.jetzt« |
  | Produktion | [[https://frag.jetzt]] |
  | Repository | [[https://git.thm.de/arsnova/frag.jetzt]] |
  | Staging Server | [[https://staging.frag.jetzt]] |
  | UML-Tool| PlantUML v1.2019.5|
  | Ersteller| Klaus Quibeldey-Cirkel|
  | Mail| klaus.quibeldey-cirkel@mni.thm.de |
  | Letzte Änderung| 26.08.2019 |
end legend

@enduml
