┌────────────────┐ │BaseEntity │ ┌─────────────────────┐ ├────────────────┤ │EventInvitationStatus│ │+id: number │ ├─────────────────────┤ │+createdAt: Date│ │Accepted │ │+updatedAt: Date│ │Participated │ └────────────────┘ └─────────────────────┘ ---------------------------------------------------------------------------------------------------------------------------- ┌────────────────────────────┐ ┌─────────────────┐ │UserExtensionEntity │ │UserEntity │ ┌─────────────────────────────────────────────────┐ ┌───────────────────────────┐ ┌──────────────────┐ ├────────────────────────────┤ ├─────────────────┤ │CompanyEntity │ ┌────────────────────┐ │EventInvitationEntity │ ┌───────────┐ │CustomerEntity │ │+firstname: string │ │+username: string│ ├─────────────────────────────────────────────────┤ │BusinessBranchEntity│ ├───────────────────────────┤ │EventEntity│ ├──────────────────┤ │+lastname: string │--│+password: string│---│ │---├────────────────────┤ │event: EventEnity │---├───────────┤ │+firstname: string│ │+companies: CompanyEntity[] │ │+realm: string │ │ businessBranches : BusinessBranchEntity[]│ │+name: string │ │customer: CustomerEntity │ │ │ │+lastname: string │ │+customers: CustomerEntity[]│ │+email: string │ └─────────────────────────────────────────────────┘ └────────────────────┘ │status: EventInvitionStatus│ └───────────┘ │ │ │+user: UserEntity │ └─────────────────┘ └───────────────────────────┘ └──────────────────┘ └────────────────────────────┘