Last active
August 29, 2015 14:13
-
-
Save ahmed-bacha/edc4afb6f531c1a23f97 to your computer and use it in GitHub Desktop.
Architecture de la BDD du projet IKYA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-User | |
* Integer id | |
* String name | |
* String email | |
* String password | |
* Set<Contact> contacts | |
* Integer score | |
-Contact | |
* Integer id | |
* Integer id_user | |
* Integer id_contact | |
* Integer statut /* 10 : non vue , 20 : vue , 30 : accept , 40 : refuse*/ | |
-Defi | |
* Integer id | |
* String description | |
* Integer id_user | |
* Integer id_contact | |
* Integer etat /* en attente (pour id_contact) , | |
accepté/resufé (pour id_contact), | |
terminé (pour id_user) , | |
validé (pour id_contact) | |
*/ | |
* Integer id_winner /* val. possibles : id-user, id-contact, -1 | |
la méthode qui attribue les points (attributePoints) | |
prend en param un objet Defi | |
*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment