Skip to content

Instantly share code, notes, and snippets.

@ahmed-bacha
Last active August 29, 2015 14:13
Show Gist options
  • Save ahmed-bacha/edc4afb6f531c1a23f97 to your computer and use it in GitHub Desktop.
Save ahmed-bacha/edc4afb6f531c1a23f97 to your computer and use it in GitHub Desktop.
Architecture de la BDD du projet IKYA
-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