From 7b2270076887ec7349a6b1469f98c2d4e1da0174 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Sun, 22 Mar 2020 15:47:37 +0100 Subject: [PATCH] Upload attachment models_note.svg --- .../models_note.svg | 571 ++++++++++++++++++ 1 file changed, 571 insertions(+) create mode 100644 uploads/76fe84392e7bc3741a059536452e9074/models_note.svg diff --git a/uploads/76fe84392e7bc3741a059536452e9074/models_note.svg b/uploads/76fe84392e7bc3741a059536452e9074/models_note.svg new file mode 100644 index 0000000..77dd252 --- /dev/null +++ b/uploads/76fe84392e7bc3741a059536452e9074/models_note.svg @@ -0,0 +1,571 @@ + + + + + + +model_graph + + + +polymorphic_models_PolymorphicModel + + +     +    PolymorphicModel     +     +polymorphic_ctype +     +     +ForeignKey (id) +     + + + + +django_contrib_contenttypes_models_ContentType + + +   +ContentType +   + + + +polymorphic_models_PolymorphicModel->django_contrib_contenttypes_models_ContentType + + + polymorphic_ctype (polymorphic_%(app_label)s.%(class)s_set+) + + + +note_models_notes_Note + + +     +    Note +< +PolymorphicModel +>     +     +id +     +     +AutoField +     +     +polymorphic_ctype +     +     +ForeignKey (id) +     +     +balance +     +     +IntegerField +     +     +created_at +     +     +DateTimeField +     +     +display_image +     +     +ImageField +     +     +is_active +     +     +BooleanField +     +     +last_negative +     +     +DateTimeField +     + + + + +note_models_notes_Note->polymorphic_models_PolymorphicModel + + + abstract +inheritance + + + +note_models_notes_NoteUser + + +     +    NoteUser     +     +note_ptr +     +     +OneToOneField (id) +     +     +user +     +     +OneToOneField (id) +     + + + + +note_models_notes_NoteUser->note_models_notes_Note + + + multi-table +inheritance + + + +django_contrib_auth_models_User + + +   +User +   + + + +note_models_notes_NoteUser->django_contrib_auth_models_User + + user (note) + + + +note_models_notes_NoteClub + + +     +    NoteClub     +     +note_ptr +     +     +OneToOneField (id) +     +     +club +     +     +OneToOneField (id) +     + + + + +note_models_notes_NoteClub->note_models_notes_Note + + + multi-table +inheritance + + + +member_models_Club + + +   +Club +   + + + +note_models_notes_NoteClub->member_models_Club + + club (note) + + + +note_models_notes_NoteSpecial + + +     +    NoteSpecial     +     +note_ptr +     +     +OneToOneField (id) +     +     +special_type +     +     +CharField +     + + + + +note_models_notes_NoteSpecial->note_models_notes_Note + + + multi-table +inheritance + + + +note_models_notes_Alias + + +     +    Alias     +     +id +     +     +AutoField +     +     +note +     +     +ForeignKey (id) +     +     +name +     +     +CharField +     +     +normalized_name +     +     +CharField +     + + + + +note_models_notes_Alias->note_models_notes_Note + + + note (alias) + + + +note_models_transactions_TemplateCategory + + +     +    TemplateCategory     +     +id +     +     +AutoField +     +     +name +     +     +CharField +     + + + + +note_models_transactions_TransactionTemplate + + +     +    TransactionTemplate     +     +id +     +     +AutoField +     +     +category +     +     +ForeignKey (id) +     +     +destination +     +     +ForeignKey (note_ptr) +     +     +amount +     +     +PositiveIntegerField +     +     +description +     +     +CharField +     +     +display +     +     +BooleanField +     +     +name +     +     +CharField +     + + + + +note_models_transactions_TransactionTemplate->note_models_notes_NoteClub + + + destination (+) + + + +note_models_transactions_TransactionTemplate->note_models_transactions_TemplateCategory + + + category (transactiontemplate) + + + +note_models_transactions_Transaction + + +     +    Transaction +< +PolymorphicModel +>     +     +id +     +     +AutoField +     +     +destination +     +     +ForeignKey (id) +     +     +polymorphic_ctype +     +     +ForeignKey (id) +     +     +source +     +     +ForeignKey (id) +     +     +amount +     +     +PositiveIntegerField +     +     +created_at +     +     +DateTimeField +     +     +quantity +     +     +PositiveIntegerField +     +     +reason +     +     +CharField +     +     +valid +     +     +BooleanField +     + + + + +note_models_transactions_Transaction->polymorphic_models_PolymorphicModel + + + abstract +inheritance + + + +note_models_transactions_Transaction->note_models_notes_Note + + + source (+) + + + +note_models_transactions_Transaction->note_models_notes_Note + + + destination (+) + + + +note_models_transactions_RecurrentTransaction + + +     +    RecurrentTransaction     +     +transaction_ptr +     +     +OneToOneField (id) +     +     +category +     +     +ForeignKey (id) +     +     +template +     +     +ForeignKey (id) +     + + + + +note_models_transactions_RecurrentTransaction->note_models_transactions_TemplateCategory + + + category (recurrenttransaction) + + + +note_models_transactions_RecurrentTransaction->note_models_transactions_TransactionTemplate + + + template (recurrenttransaction) + + + +note_models_transactions_RecurrentTransaction->note_models_transactions_Transaction + + + multi-table +inheritance + + + +note_models_transactions_SpecialTransaction + + +     +    SpecialTransaction     +     +transaction_ptr +     +     +OneToOneField (id) +     +     +bank +     +     +CharField +     +     +first_name +     +     +CharField +     +     +last_name +     +     +CharField +     + + + + +note_models_transactions_SpecialTransaction->note_models_transactions_Transaction + + + multi-table +inheritance + + + +note_models_transactions_MembershipTransaction + + +     +    MembershipTransaction     +     +transaction_ptr +     +     +OneToOneField (id) +     +     +membership +     +     +OneToOneField (id) +     + + + + +note_models_transactions_MembershipTransaction->note_models_transactions_Transaction + + + multi-table +inheritance + + + +member_models_Membership + + +   +Membership +   + + + +note_models_transactions_MembershipTransaction->member_models_Membership + + membership (transaction) + + +