docs: remove POO class diagram from annex in project dossier

- Deleted the class diagram representing backend entities to simplify and declutter the annex section.
This commit is contained in:
Mathis HERRIOT
2026-01-28 12:36:43 +01:00
parent 4fa163b542
commit 4372f75025

View File

@@ -761,60 +761,7 @@ Je tiens à remercier l'équipe pédagogique pour son accompagnement tout au lon
### Annexe 1 - Schéma de classe POO du backend
Le diagramme suivant représente les entités principales du domaine et leurs relations au sein du backend NestJS.
```mermaid
classDiagram
class User {
+UUID uuid
+String username
+String email (Encrypted)
+String emailHash
+String passwordHash
+String avatarUrl
+Enum status
+Boolean isTwoFactorEnabled
+DateTime createdAt
+softDelete()
}
class Content {
+UUID id
+UUID userId
+Enum type
+String title
+String slug
+String storageKey
+Int views
+Int usageCount
+DateTime createdAt
+incrementViews()
}
class Category {
+UUID id
+String name
+String slug
}
class Tag {
+UUID id
+String name
}
class Report {
+UUID id
+UUID contentId
+String reason
+Enum status
+DateTime createdAt
}
User "1" -- "0..*" Content : owns
Content "0..*" -- "1" Category : categorized_in
Content "0..*" -- "0..*" Tag : tagged_with
Content "1" -- "0..*" Report : has_reports
```
### Annexe 2 - Sources et ressources
- [Documentation NestJS](https://docs.nestjs.com/)