add MCD for database and the beginning of MLD
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
7683dd2129
commit
da0e4f9b6a
@ -0,0 +1,88 @@
|
||||
@startuml
|
||||
|
||||
class Account {
|
||||
<u>id
|
||||
token {uniq}
|
||||
name
|
||||
age
|
||||
email
|
||||
phoneNumber
|
||||
passwordHash
|
||||
profilePicture
|
||||
}
|
||||
|
||||
class Team {
|
||||
<u>id
|
||||
name
|
||||
picture
|
||||
mainColor
|
||||
secondColor
|
||||
}
|
||||
|
||||
usecase have_team [
|
||||
to have
|
||||
--
|
||||
role
|
||||
]
|
||||
|
||||
Account "0,n" -- have_team
|
||||
have_team -- "1,n" Team
|
||||
|
||||
|
||||
class Tactic {
|
||||
<u>id
|
||||
name
|
||||
creationDate
|
||||
}
|
||||
|
||||
usecase have_tactic [
|
||||
to have
|
||||
]
|
||||
|
||||
Account "0,n" -- have_tactic
|
||||
have_tactic -- "1,1" Tactic
|
||||
|
||||
usecase is_shared [
|
||||
to be shared
|
||||
]
|
||||
|
||||
Tactic "0,n" -- is_shared
|
||||
is_shared -- "0,n" Team
|
||||
|
||||
class TacticFolder {
|
||||
name
|
||||
}
|
||||
|
||||
usecase contains [
|
||||
to contains
|
||||
]
|
||||
|
||||
usecase contains_other_folder [
|
||||
to contains
|
||||
]
|
||||
|
||||
TacticFolder "0,n" -- contains_other_folder
|
||||
contains_other_folder -- "0,1" TacticFolder
|
||||
|
||||
TacticFolder "0,n" -- contains
|
||||
contains -- "0,1" Tactic
|
||||
|
||||
|
||||
class PersonalSpace {
|
||||
}
|
||||
|
||||
usecase have_personal_space [
|
||||
to have
|
||||
]
|
||||
|
||||
usecase is_root [
|
||||
to be root of
|
||||
]
|
||||
|
||||
PersonalSpace "0,n" -- is_root
|
||||
is_root -- "1,1" TacticFolder
|
||||
|
||||
PersonalSpace "1,1" -- have_personal_space
|
||||
have_personal_space -- "1,1" Account
|
||||
|
||||
@enduml
|
@ -0,0 +1,89 @@
|
||||
@startuml
|
||||
|
||||
class Account {
|
||||
<u>token
|
||||
name
|
||||
age
|
||||
email
|
||||
phoneNumber
|
||||
passwordHash
|
||||
profilePicture
|
||||
}
|
||||
|
||||
class Team {
|
||||
<u>id
|
||||
name
|
||||
picture
|
||||
mainColor
|
||||
secondColor
|
||||
}
|
||||
|
||||
class Member {
|
||||
idAccount
|
||||
idTeam
|
||||
role
|
||||
}
|
||||
|
||||
have_team --> Account
|
||||
have_team --> Team
|
||||
|
||||
|
||||
class Tactic {
|
||||
<u>id
|
||||
name
|
||||
creationDate
|
||||
}
|
||||
|
||||
class have_tactic {
|
||||
idAccount
|
||||
idTactic
|
||||
}
|
||||
|
||||
Account "0,n" -- have_tactic
|
||||
have_tactic -- "1,1" Tactic
|
||||
|
||||
class SharedTactic {
|
||||
idTactic
|
||||
idTeam
|
||||
}
|
||||
|
||||
Tactic "0,n" -- SharedTactic
|
||||
SharedTactic -- "0,n" Team
|
||||
|
||||
class TacticFolder {
|
||||
name
|
||||
}
|
||||
|
||||
usecase contains [
|
||||
contains
|
||||
]
|
||||
|
||||
usecase contains_other_folder [
|
||||
contains
|
||||
]
|
||||
|
||||
TacticFolder "0,n" -- contains_other_folder
|
||||
contains_other_folder -- "0,1" TacticFolder
|
||||
|
||||
TacticFolder "0,n" -- contains
|
||||
contains -- "0,1" Tactic
|
||||
|
||||
|
||||
class PersonalSpace {
|
||||
}
|
||||
|
||||
usecase have_personal_space [
|
||||
have
|
||||
]
|
||||
|
||||
usecase is_root [
|
||||
is root of
|
||||
]
|
||||
|
||||
PersonalSpace "0,n" -- is_root
|
||||
is_root -- "1,1" TacticFolder
|
||||
|
||||
PersonalSpace "1,1" -- have_personal_space
|
||||
have_personal_space -- "1,1" Account
|
||||
|
||||
@enduml
|
Loading…
Reference in new issue