@startuml

object Account {
    <u>id
    name
    age
    email
    phone_number
    password_hash
    profile_picture
}

object TacticFolder {
    <u>id
    name
    <color:black>#tacticFolderParent
    <color:black>#account
}

Account <-- TacticFolder
TacticFolder --> TacticFolder

object Tactic {
    <u>id
    name
    creationDate
}

object Team {
    <u>id
    name
    picture
    mainColor
    secondColor
}


object FolderSharedTeam {
    <u>#idFolder, #idTeam
}

FolderSharedTeam --> TacticFolder
FolderSharedTeam --> Team

object Member {
    <u>#idAccount, #idTeam
    role
}

Member --> Account
Member --> Team

object TacticSharedTeam {
    <u>#idTactic, #idTeam
}

TacticSharedTeam --> Tactic
TacticSharedTeam --> Team

object TacticSharedAccount {
    <u>#idTactic, #idAccount
}

TacticSharedAccount --> Tactic
TacticSharedAccount --> Account

object TacticFolderLink {
    <u>#idFolder, #idTactic
}

TacticFolderLink --> Tactic
TacticFolderLink --> TacticFolder




object FolderSharedAccount {
    <u>#idFolder, #idAccount
}

FolderSharedAccount --> TacticFolder
FolderSharedAccount --> Account


@enduml