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":{ "comptes":{
"idbde":{ "personne":{
"app":"note", "idbde":{
"model":"Note", "app":"note",
"field":"id" "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, "club":{
"pseudo":{ "idbde":{
"app":"member", "app":"note",
"model":"User", "model":"NoteClub",
"field":"username" "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":{ "special":{
"app":"member", "idbde":{
"model":"User", "app":"note",
"field":"password" "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" "transactions":{
}, "id":{
"nom":{ "app":"note",
"app":"member", "model":"Transaction",
"model":"User", "field":""
"field":"first_name", },"Transaction.id",
}, "date":{
"prenom":{ "app":"note",
"app":"member", "model":"Transaction",
"model":"User", "field":""
"field":"last_name" }"Transaction.created_at",
}, "type":{
"tel":{ "app":"note",
"app":"member", "model":"Transaction",
"model":"Profile", "field":""
"field":"phone_number", } null,
}, "emetteur":{
"mail":{ "app":"note",
"app":"member", "model":"Transaction",
"model":"User", "field":"id"
"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":{ "destinataire":{
"id":{ "app":"note",
"app":"note", "model":"Transaction",
"model":"Transaction", "field":"destination_id"
"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"
}
}, },
"boutons":{ "quantite":{
"id":{ "app":"note",
"app":"note", "model":"Transaction",
"model":"Transaction", "field":"quantity"
"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
}, },
"aliases":{ "montant":{
"id":{ "app":"note",
"app":"note", "model":"Transaction",
"model":"Alias", "field":"amount"
"field":"id" },
}, "description":{
"alias":{ "app":"note",
"app":"note", "model":"Transaction",
"model":"Alias", "field":"reason"
"field":"name" },
}, "valide":{
"idbde":{ "app":"note",
"app":"note", "model":"Transaction",
"model":"Alias", "field":"valid"
"field":"note_id" },
} "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"
} }
} }
}