Ajout du diagramme de classe

php
Lucie GOIGOUX 2 years ago
parent 039603a0a0
commit 4ad27dbc3d

@ -0,0 +1,91 @@
@startuml IEP
hide circle
allowmixing
skinparam classAttributeIconSize 9
skinparam classBackgroundColor #123123
skinparam classBorderColor #fff
skinparam classArrowColor #123123
skinparam classFontColor #white
skinparam classFontName arial
skinparam BackgroundColor #white
namespace Model #lightgrey{
abstract Class AbsModel{
- gtw : AbsGateway
- role : string
+ connection() : void
+ deconnection() : void
}
abstract Class User {
- id : int
- password : string
- email : string
- name : string
- surname : string
- nickname : string
- image : string
- extraTime : bool
- group : int
+ User(id : int, password : string, email : string, string name, string surname, string nickname, string image, bool extraTime, int group)
}
Class StudentModel {
+ action() : void
}
AbsModel *--> Gateway.AbsGateway
AbsModel <|-- StudentModel
}
namespace Controller #lightgray{
Class studentController {
- attribut
+ fct() : void
}
}
namespace Config #lightgray{
Class Connection {
- stmt
+ executeQuery(query : string, parameters : array) : bool
+ getResult() : array
}
}
namespace Gateway #lightgray{
abstract Class AbsGateway {
- con : Connection
+ {abstract} add() : void
+ {abstract} remove() : void
}
Class studentGateway {
+ findVocabulary() : string
}
Class adminGateway {
+ findStudent(): User
}
class teacherGateway {
+ findGroup() : Group
}
class groupGateway {
+ fct(): void
}
AbsGateway <|-- studentGateway
AbsGateway <|-- teacherGateway
AbsGateway <|-- adminGateway
AbsGateway <|-- groupGateway
}
@enduml
Loading…
Cancel
Save