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