Change PollType association
This commit is contained in:
parent
2698ca580b
commit
6a6428231d
@ -40,6 +40,7 @@ package Forums {
|
|||||||
}
|
}
|
||||||
class Poll{
|
class Poll{
|
||||||
options: ArrayList<Option>
|
options: ArrayList<Option>
|
||||||
|
type: PollType
|
||||||
answer(User, Option): Vote
|
answer(User, Option): Vote
|
||||||
addOption(Option)
|
addOption(Option)
|
||||||
}
|
}
|
||||||
@ -63,7 +64,7 @@ package Forums {
|
|||||||
Option "1..*" -d-x Vote
|
Option "1..*" -d-x Vote
|
||||||
Poll *-- Vote
|
Poll *-- Vote
|
||||||
|
|
||||||
Poll .. PollType
|
Poll -- PollType
|
||||||
PollType .r. N
|
PollType .r. N
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user