summaryrefslogtreecommitdiff
path: root/assignments/1/associative-entity.puml
blob: a52a489b6b97d51240ff6e792c76580f7505fe2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@startuml
entity "Project" as project {
  *id: number
  *name: varchar(255)
}
entity "Policy" as policy {
  *id: number
  *classification: number
  *project_id: number
  *software_license_id: number
}
entity "SoftwareLicense" as license {
  *id: number
  *spdx_id: varchar(255)
  *name: varchar(255)
}
project ||..|{ policy
license ||..|{ policy
@enduml