Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testligue #6

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.metadata/
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/AP-personnel.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AP-personnel</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
70 changes: 70 additions & 0 deletions Arborescence du menu.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<map version="1.0.1">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node CREATED="1670235674632" ID="ID_333461940" MODIFIED="1670256001649" STYLE="fork" TEXT="Authentification">
<node CREATED="1670256035417" ID="ID_336755689" MODIFIED="1670258859470" POSITION="right" TEXT="gerer le compte root ">
<node CREATED="1670256131051" FOLDED="true" ID="ID_350285929" MODIFIED="1670259038520" TEXT="Afficher l&apos;employ&#xe9;">
<node CREATED="1670258806940" ID="ID_734343096" MODIFIED="1670258806940" TEXT=""/>
</node>
<node CREATED="1670256134919" ID="ID_1047249593" MODIFIED="1670256365805" TEXT="Changer le nom">
<node CREATED="1670258916131" ID="ID_1179727422" MODIFIED="1670258934102" TEXT="Nouveau nom"/>
</node>
<node CREATED="1670256138893" ID="ID_1807431573" MODIFIED="1670256386176" TEXT="Changer le pr&#xe9;nom">
<node CREATED="1670259002783" ID="ID_970680674" MODIFIED="1670259009840" TEXT="Nouveau pr&#xe9;nom"/>
</node>
<node CREATED="1670256141825" ID="ID_1195555671" MODIFIED="1670256412482" TEXT="Changer le mail">
<node CREATED="1670259015561" ID="ID_30330932" MODIFIED="1670259024470" TEXT="Nouveau mail"/>
</node>
<node CREATED="1670256256903" ID="ID_192514357" MODIFIED="1670256422948" TEXT="Changer le password">
<node CREATED="1670259026490" ID="ID_1276071627" MODIFIED="1670259034602" TEXT="Nouveau password"/>
</node>
<node CREATED="1670256262097" ID="ID_619978879" MODIFIED="1670256442279" TEXT="Back"/>
</node>
<node CREATED="1670256028848" ID="ID_692893492" MODIFIED="1670258877280" POSITION="right" TEXT="gerer les ligues">
<node CREATED="1670256466020" ID="ID_1819567269" MODIFIED="1670256509206" TEXT="Afficher les ligues">
<node CREATED="1670851710586" ID="ID_1200508294" MODIFIED="1670851726410" TEXT="Affiche les ligues"/>
</node>
<node CREATED="1670256468672" ID="ID_290701929" MODIFIED="1670256544819" TEXT="Ajouter une ligue">
<node CREATED="1670851728765" ID="ID_121766192" MODIFIED="1670851736568" TEXT="Ajout d&apos;une ligue"/>
</node>
<node CREATED="1670256472435" ID="ID_1278034147" MODIFIED="1670256563381" TEXT="S&#xe9;lectionner une ligue">
<node CREATED="1670851756132" ID="ID_96690616" MODIFIED="1670851764434" TEXT="Editer une ligue">
<node CREATED="1670851782480" ID="ID_1533045930" MODIFIED="1670851791507" TEXT="Afficher la ligue">
<node CREATED="1670851893603" ID="ID_640225581" MODIFIED="1670851930094" TEXT="Affiche la ligue et l&apos;admin"/>
</node>
<node CREATED="1670851794980" ID="ID_399606370" MODIFIED="1670851808125" TEXT="Gerer les employ&#xe9;s de la ligue">
<node CREATED="1670851964451" ID="ID_387588791" MODIFIED="1670851974763" TEXT="Afficher les employ&#xe9;s">
<node CREATED="1670852048014" ID="ID_1773871551" MODIFIED="1670852060357" TEXT="Affiche les employ&#xe9;s"/>
</node>
<node CREATED="1670851979944" ID="ID_1615440550" MODIFIED="1670851998791" TEXT="Ajouter un employ&#xe9;">
<node CREATED="1670852077694" ID="ID_1119476293" MODIFIED="1670852084945" TEXT="Ajoute un employ&#xe9;">
<node CREATED="1670852141839" ID="ID_364549428" MODIFIED="1670852149485" TEXT="nom"/>
<node CREATED="1670852151948" ID="ID_661103703" MODIFIED="1670852156613" TEXT="pr&#xe9;nom"/>
<node CREATED="1670852160223" ID="ID_529099658" MODIFIED="1670852162430" TEXT="mail"/>
<node CREATED="1670852172992" ID="ID_1921088255" MODIFIED="1670852176948" TEXT="password"/>
</node>
</node>
<node CREATED="1670852002561" ID="ID_497197131" MODIFIED="1670852015147" TEXT="Modifier un employ&#xe9;">
<node CREATED="1670852088659" ID="ID_1237764125" MODIFIED="1670852235739" TEXT="Gerer le compte">
<node CREATED="1670852240209" ID="ID_922338406" MODIFIED="1670852256521" TEXT="Changer nom"/>
<node CREATED="1670852267909" ID="ID_1926286043" MODIFIED="1670852274732" TEXT="afficher l&apos;employ&#xe9;"/>
<node CREATED="1670852279099" ID="ID_1417445019" MODIFIED="1670852286233" TEXT="changer le prenom"/>
<node CREATED="1670852289594" ID="ID_1606157702" MODIFIED="1670852294866" TEXT="changer le mail"/>
<node CREATED="1670852298189" ID="ID_1550455671" MODIFIED="1670852307979" TEXT="changer le password"/>
<node CREATED="1670852311492" ID="ID_784030288" MODIFIED="1670852315272" TEXT="Back"/>
</node>
</node>
<node CREATED="1670852019326" ID="ID_1254736375" MODIFIED="1670852026647" TEXT="Supprimer un employ&#xe9;">
<node CREATED="1670852342485" ID="ID_668397008" MODIFIED="1670852361746" TEXT="supprime un employ&#xe9;"/>
</node>
<node CREATED="1670852030324" ID="ID_1261619817" MODIFIED="1670852033981" TEXT="Back"/>
</node>
<node CREATED="1670851811400" ID="ID_348324001" MODIFIED="1670851824888" TEXT="renomer la ligue"/>
<node CREATED="1670851828351" ID="ID_589036983" MODIFIED="1670851833415" TEXT="Supprimer la ligue"/>
<node CREATED="1670851837544" ID="ID_148766361" MODIFIED="1670851840786" TEXT="Back"/>
</node>
</node>
<node CREATED="1670256475228" ID="ID_1247017335" MODIFIED="1670256574519" TEXT="Back"/>
</node>
<node CREATED="1670256032292" ID="ID_1731481342" MODIFIED="1670256094236" POSITION="right" TEXT="quitter"/>
</node>
</map>
Binary file added Arborescence heuristique.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Creation de la BDD/FK.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE EMPLOYE DROP FOREIGN KEY fk_employe;
ALTER TABLE LIGUE DROP FOREIGN KEY fk_ligue;

ALTER TABLE EMPLOYE ADD CONSTRAINT fk_employe FOREIGN KEY (id_ligue) REFERENCES LIGUE(id_ligue);
ALTER TABLE LIGUE ADD CONSTRAINT fk_ligue FOREIGN KEY (id_employe) REFERENCES EMPLOYE(id_employe);
25 changes: 25 additions & 0 deletions Creation de la BDD/createtable.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
drop table if exists EMPLOYE;
drop table if exists LIGUE;

create table if not exists EMPLOYE
(
id_employe int NOT NULL AUTO_INCREMENT,
nom_employe VARCHAR(200),
prenom_employe VARCHAR(200),
password_employe VARCHAR(200),
mail_employe VARCHAR(200),
root_employe boolean,
estadmin_employe boolean,
dateDepart_employe date,
dateArrivé_employe date,
id_ligue int,
constraint pk_employe primary key(id_employe)
);

create table if not exists LIGUE
(
id_ligue int NOT NULL AUTO_INCREMENT,
nom_ligue VARCHAR(200),
id_employe int,
constraint pk_ligue primary key(id_ligue)
);
Binary file added MCD - Personnel/MCDpersonnel.lo1
Binary file not shown.
Binary file added MCD - Personnel/MCDpersonnel.loo
Binary file not shown.
Binary file added MCD - Personnel/mcd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Personnel/.DS_Store
Binary file not shown.
Empty file added Personnel/.metadata/.lock
Empty file.
Loading