Make disctinction between club/user/special

This commit is contained in:
Pierre-antoine Comby 2020-02-22 16:33:35 +01:00
parent cfd881887d
commit c5ebd0297c
1 changed files with 237 additions and 151 deletions

View File

@ -1,161 +1,247 @@
{
"comptes":{
"idbde":{
"app":"note",
"model":"Note",
"field":"id"
"personne":{
"idbde":{
"app":"note",
"model":"NoteUser",
"field":"id"
},
"type": null,
"pseudo":{
"app":"member",
"model":"User",
"field":"username"
},
"passwd":{
"app":"member",
"model":"User",
"field":"password"
},
"solde":{
"app":"note",
"model":"NoteUser",
"field":"solde"
},
"nom":{
"app":"member",
"model":"User",
"field":"first_name"
},
"prenom":{
"app":"member",
"model":"User",
"field":"last_name"
},
"tel":{
"app":"member",
"model":"Profile",
"field":"phone_number"
},
"mail":{
"app":"member",
"model":"User",
"field":"email"
},
"adresse":{
"app":"member",
"model":"Profile",
"field":"address"
},
"fonction": null,
"normalien":{
"app":"member",
"model":"Profile",
"field":"paid"
},
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
},
"type": null,
"pseudo":{
"app":"member",
"model":"User",
"field":"username"
"club":{
"idbde":{
"app":"note",
"model":"NoteClub",
"field":"id"
},
"type": null,
"pseudo":{
"app":"member",
"model":"Club",
"field":"name"
},
"passwd":null,
"solde":{
"app":"note",
"model":"NoteClub",
"field":"solde"
},
"nom":null,
"prenom":null,
"tel":null,
"mail":{
"app":"member",
"model":"Club",
"field":"email"
},
"adresse":null,
"fonction": null,
"normalien": null,
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
},
"passwd":{
"app":"member",
"model":"User",
"field":"password"
"special":{
"idbde":{
"app":"note",
"model":"NoteSpecial",
"field":"id"
},
"type": null,
"pseudo":{
"app":"member",
"model":"NoteSpecial",
"field":"special_type"
},
"passwd":null,
"solde":{
"app":"note",
"model":"NoteClub",
"field":"solde"
},
"nom":null,
"prenom":null,
"tel":null,
"mail":null,
"adresse":null,
"fonction": null,
"normalien": null,
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
},
"solde":{
"app":"note",
"model":"Note",
"field":"solde"
},
"nom":{
"app":"member",
"model":"User",
"field":"first_name",
},
"prenom":{
"app":"member",
"model":"User",
"field":"last_name"
},
"tel":{
"app":"member",
"model":"Profile",
"field":"phone_number",
},
"mail":{
"app":"member",
"model":"User",
"field":"email"
},
"adresse":{
"app":"member",
"model":"Profile",
"field":"address"
},
"fonction": null,
"normalien":{
"app":"member",
"model":"Profile",
"field":"paid"
},
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
}
},
"transactions":{
"id":{
"app":"note",
"model":"Transaction",
"field":""
},"Transaction.id",
"date":{
"app":"note",
"model":"Transaction",
"field":""
}"Transaction.created_at",
"type":{
"app":"note",
"model":"Transaction",
"field":""
} null,
"emetteur":{
"app":"note",
"model":"Transaction",
"field":"id"
},
"transactions":{
"id":{
"app":"note",
"model":"Transaction",
"field":""
},"Transaction.id",
"date":{
"app":"note",
"model":"Transaction",
"field":""
}"Transaction.created_at",
"type":{
"app":"note",
"model":"Transaction",
"field":""
} null,
"emetteur":{
"app":"note",
"model":"Transaction",
"field":"id"
},
"destinataire":{
"app":"note",
"model":"Transaction",
"field":"destination_id"
},
"quantite":{
"app":"note",
"model":"Transaction",
"field":"quantity"
},
"montant":{
"app":"note",
"model":"Transaction",
"field":"amount"
},
"description":{
"app":"note",
"model":"Transaction",
"field":"reason"
},
"valide":{
"app":"note",
"model":"Transaction",
"field":"valid"
},
"cantinvalidate": null,
"categorie":{
"app":"note",
"model":"Transaction",
"field":"transaction_type"
}
"destinataire":{
"app":"note",
"model":"Transaction",
"field":"destination_id"
},
"boutons":{
"id":{
"app":"note",
"model":"Transaction",
"field":"transaction_type"
}"TransactionTemplate.id",
"label":{
"app":"note",
"model":"TransactionTemplate",
"field":"name"
},
"montant":{
"app":"note",
"model":"TransactionTemplate",
"field":"amount"
},
"destinataire":{
"app":"note",
"model":"TransactionTemplate",
"field":"destination_id"
},
"categorie":null,
"affiche":null,
"description":null,
"consigne":null
"quantite":{
"app":"note",
"model":"Transaction",
"field":"quantity"
},
"aliases":{
"id":{
"app":"note",
"model":"Alias",
"field":"id"
},
"alias":{
"app":"note",
"model":"Alias",
"field":"name"
},
"idbde":{
"app":"note",
"model":"Alias",
"field":"note_id"
}
"montant":{
"app":"note",
"model":"Transaction",
"field":"amount"
},
"description":{
"app":"note",
"model":"Transaction",
"field":"reason"
},
"valide":{
"app":"note",
"model":"Transaction",
"field":"valid"
},
"cantinvalidate": null,
"categorie":{
"app":"note",
"model":"Transaction",
"field":"transaction_type"
}
},
"boutons":{
"id":{
"app":"note",
"model":"TransactionTemplate",
"field":"pk"
}
"label":{
"app":"note",
"model":"TransactionTemplate",
"field":"name"
},
"montant":{
"app":"note",
"model":"TransactionTemplate",
"field":"amount"
},
"destinataire":{
"app":"note",
"model":"TransactionTemplate",
"field":"destination_id"
},
"categorie":null,
"affiche":{
"app":"note",
"model":"TransactionTemplate",
"field":"display"
},
"description":{
"app":"note",
"model":"TransactionTemplate",
"field":"description"
},
"consigne":null
},
"aliases":{
"id":{
"app":"note",
"model":"Alias",
"field":"id"
},
"alias":{
"app":"note",
"model":"Alias",
"field":"name"
},
"idbde":{
"app":"note",
"model":"Alias",
"field":"note_id"
}
}
}