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,8 +1,9 @@
{
"comptes":{
"personne":{
"idbde":{
"app":"note",
"model":"Note",
"model":"NoteUser",
"field":"id"
},
"type": null,
@ -18,13 +19,13 @@
},
"solde":{
"app":"note",
"model":"Note",
"model":"NoteUser",
"field":"solde"
},
"nom":{
"app":"member",
"model":"User",
"field":"first_name",
"field":"first_name"
},
"prenom":{
"app":"member",
@ -34,7 +35,7 @@
"tel":{
"app":"member",
"model":"Profile",
"field":"phone_number",
"field":"phone_number"
},
"mail":{
"app":"member",
@ -62,7 +63,84 @@
"last_negatif": null,
"deleted":null
},
"transactions":{
"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
},
"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
},
}
},
"transactions":{
"id":{
"app":"note",
"model":"Transaction",
@ -114,13 +192,13 @@
"model":"Transaction",
"field":"transaction_type"
}
},
"boutons":{
},
"boutons":{
"id":{
"app":"note",
"model":"Transaction",
"field":"transaction_type"
}"TransactionTemplate.id",
"model":"TransactionTemplate",
"field":"pk"
}
"label":{
"app":"note",
"model":"TransactionTemplate",
@ -137,11 +215,19 @@
"field":"destination_id"
},
"categorie":null,
"affiche":null,
"description":null,
"consigne":null
"affiche":{
"app":"note",
"model":"TransactionTemplate",
"field":"display"
},
"aliases":{
"description":{
"app":"note",
"model":"TransactionTemplate",
"field":"description"
},
"consigne":null
},
"aliases":{
"id":{
"app":"note",
"model":"Alias",
@ -157,5 +243,5 @@
"model":"Alias",
"field":"note_id"
}
}
}
}