@startuml

title Hyperion\n//Database//

Project "n" -- "n" User : <u>USER_PROJECT</u>
User "n" -- "n" Authority : <u>USER_AUTHORITY</u>
Project "1" *-- "n" TestSuite : <i>(not used?)</i>
TestSuite "1" *-- "n" Scenario : <i>(not used?)</i>

class User {
  {static} table = "JHI_USER"
  - id
  login
  ...
}

class Authority {
  {static} table = " JHI_AUTHORITY"
  name = "ROLE_ADMIN" | "ROLE_USER"
}

class Project {
  {static} table = "PROJECT"
  - id
  name
  ...
}

class TestSuite {
  {static} table = "TESTSUITE" (?)
  - id
  name
  ...
}

class Scenario {
  {static} table = "SCENARIO" (?)
  - id
  name
  ...
}

hide methods

@enduml
