digraph model_graph { // Dotfile by Django-Extensions graph_models // Created: 2020-03-17 12:30 // Cli Options: -a fontname = "Roboto" fontsize = 8 splines = true node [ fontname = "Roboto" fontsize = 8 shape = "plaintext" ] edge [ fontname = "Roboto" fontsize = 8 ] // Labels django_contrib_admin_models_LogEntry [label=<
LogEntry
id AutoField
content_type ForeignKey (id)
user ForeignKey (id)
action_flag PositiveSmallIntegerField
action_time DateTimeField
change_message TextField
object_id TextField
object_repr CharField
>] django_contrib_auth_models_Permission [label=<
Permission
id AutoField
content_type ForeignKey (id)
codename CharField
name CharField
>] django_contrib_auth_models_Group [label=<
Group
id AutoField
name CharField
>] django_contrib_contenttypes_models_ContentType [label=<
ContentType
id AutoField
app_label CharField
model CharField
>] django_contrib_sessions_base_session_AbstractBaseSession [label=<
AbstractBaseSession
expire_date DateTimeField
session_data TextField
>] django_contrib_sessions_models_Session [label=<
Session
<AbstractBaseSession>
session_key CharField
expire_date DateTimeField
session_data TextField
>] uncloud_pay_models_StripeCustomer [label=<
StripeCustomer
owner OneToOneField (id)
stripe_id CharField
>] uncloud_pay_models_Payment [label=<
Payment
uuid UUIDField
owner ForeignKey (id)
amount DecimalField
source CharField
timestamp DateTimeField
>] uncloud_pay_models_PaymentMethod [label=<
PaymentMethod
uuid UUIDField
owner ForeignKey (id)
description TextField
primary BooleanField
source CharField
stripe_card_id CharField
>] uncloud_pay_models_Bill [label=<
Bill
uuid UUIDField
owner ForeignKey (id)
creation_date DateTimeField
due_date DateField
ending_date DateTimeField
starting_date DateTimeField
valid BooleanField
>] uncloud_pay_models_Order [label=<
Order
uuid UUIDField
owner ForeignKey (id)
creation_date DateTimeField
ending_date DateTimeField
recurring_period CharField
starting_date DateTimeField
>] uncloud_pay_models_OrderRecord [label=<
OrderRecord
id AutoField
order ForeignKey (uuid)
description TextField
one_time_price DecimalField
recurring_price DecimalField
>] django_contrib_auth_models_AbstractUser [label=<
AbstractUser
<AbstractBaseUser,PermissionsMixin>
date_joined DateTimeField
email EmailField
first_name CharField
is_active BooleanField
is_staff BooleanField
is_superuser BooleanField
last_login DateTimeField
last_name CharField
password CharField
username CharField
>] uncloud_auth_models_User [label=<
User
<AbstractUser>
id AutoField
date_joined DateTimeField
email EmailField
first_name CharField
is_active BooleanField
is_staff BooleanField
is_superuser BooleanField
last_login DateTimeField
last_name CharField
password CharField
username CharField
>] uncloud_pay_models_Product [label=<
Product
order ForeignKey (uuid)
owner ForeignKey (id)
status CharField
>] uncloud_vm_models_VMHost [label=<
VMHost
uuid UUIDField
hostname CharField
physical_cores IntegerField
status CharField
usable_cores IntegerField
usable_ram_in_gb FloatField
>] uncloud_vm_models_VMProduct [label=<
VMProduct
<Product>
uuid UUIDField
order ForeignKey (uuid)
owner ForeignKey (id)
vmhost ForeignKey (uuid)
cores IntegerField
name CharField
ram_in_gb FloatField
status CharField
vmid IntegerField
>] uncloud_vm_models_VMWithOSProduct [label=<
VMWithOSProduct
vmproduct_ptr OneToOneField (uuid)
>] uncloud_vm_models_VMDiskImageProduct [label=<
VMDiskImageProduct
uuid UUIDField
owner ForeignKey (id)
image_source CharField
image_source_type CharField
import_url URLField
is_os_image BooleanField
is_public BooleanField
name CharField
size_in_gb FloatField
status CharField
storage_class CharField
>] uncloud_vm_models_VMDiskProduct [label=<
VMDiskProduct
uuid UUIDField
image ForeignKey (uuid)
owner ForeignKey (id)
vm ForeignKey (uuid)
size_in_gb FloatField
>] uncloud_vm_models_VMNetworkCard [label=<
VMNetworkCard
id AutoField
vm ForeignKey (uuid)
ip_address GenericIPAddressField
mac_address BigIntegerField
>] uncloud_vm_models_VMSnapshotProduct [label=<
VMSnapshotProduct
<Product>
uuid UUIDField
order ForeignKey (uuid)
owner ForeignKey (id)
vm ForeignKey (uuid)
gb_hdd FloatField
gb_ssd FloatField
status CharField
>] uncloud_pay_models_Product [label=<
Product
order ForeignKey (uuid)
owner ForeignKey (id)
status CharField
>] ungleich_service_models_MatrixServiceProduct [label=<
MatrixServiceProduct
<Product>
uuid UUIDField
order ForeignKey (uuid)
owner ForeignKey (id)
vm ForeignKey (uuid)
domain CharField
status CharField
>] opennebula_models_VM [label=<
VM
vmid IntegerField
owner ForeignKey (id)
data JSONField
>] // Relations django_contrib_admin_models_LogEntry -> uncloud_auth_models_User [label=" user (logentry)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_admin_models_LogEntry -> django_contrib_contenttypes_models_ContentType [label=" content_type (logentry)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_auth_models_Permission -> django_contrib_contenttypes_models_ContentType [label=" content_type (permission)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_auth_models_Group -> django_contrib_auth_models_Permission [label=" permissions (group)"] [arrowhead=dot arrowtail=dot, dir=both]; django_contrib_sessions_models_Session -> django_contrib_sessions_base_session_AbstractBaseSession [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_pay_models_StripeCustomer -> uncloud_auth_models_User [label=" owner (stripecustomer)"] [arrowhead=none, arrowtail=none, dir=both]; uncloud_pay_models_Payment -> uncloud_auth_models_User [label=" owner (payment)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_PaymentMethod -> uncloud_auth_models_User [label=" owner (paymentmethod)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_Bill -> uncloud_auth_models_User [label=" owner (bill)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_Order -> uncloud_auth_models_User [label=" owner (order)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_Order -> uncloud_pay_models_Bill [label=" bill (order)"] [arrowhead=dot arrowtail=dot, dir=both]; uncloud_pay_models_OrderRecord -> uncloud_pay_models_Order [label=" order (orderrecord)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_auth_base_user_AbstractBaseUser [label=<
AbstractBaseUser
>] django_contrib_auth_models_AbstractUser -> django_contrib_auth_base_user_AbstractBaseUser [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; django_contrib_auth_models_PermissionsMixin [label=<
PermissionsMixin
>] django_contrib_auth_models_AbstractUser -> django_contrib_auth_models_PermissionsMixin [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_auth_models_User -> django_contrib_auth_models_Group [label=" groups (user)"] [arrowhead=dot arrowtail=dot, dir=both]; uncloud_auth_models_User -> django_contrib_auth_models_Permission [label=" user_permissions (user)"] [arrowhead=dot arrowtail=dot, dir=both]; uncloud_auth_models_User -> django_contrib_auth_models_AbstractUser [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_pay_models_Product -> uncloud_auth_models_User [label=" owner (product)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_Product -> uncloud_pay_models_Order [label=" order (product)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMProduct -> uncloud_vm_models_VMHost [label=" vmhost (vmproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMProduct -> uncloud_pay_models_Product [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_vm_models_VMWithOSProduct -> uncloud_vm_models_VMProduct [label=" multi-table\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_vm_models_VMDiskImageProduct -> uncloud_auth_models_User [label=" owner (vmdiskimageproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMDiskProduct -> uncloud_auth_models_User [label=" owner (vmdiskproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMDiskProduct -> uncloud_vm_models_VMProduct [label=" vm (vmdiskproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMDiskProduct -> uncloud_vm_models_VMDiskImageProduct [label=" image (vmdiskproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMNetworkCard -> uncloud_vm_models_VMProduct [label=" vm (vmnetworkcard)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMSnapshotProduct -> uncloud_vm_models_VMProduct [label=" vm (vmsnapshotproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_vm_models_VMSnapshotProduct -> uncloud_pay_models_Product [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; uncloud_pay_models_Product -> uncloud_auth_models_User [label=" owner (product)"] [arrowhead=none, arrowtail=dot, dir=both]; uncloud_pay_models_Product -> uncloud_pay_models_Order [label=" order (product)"] [arrowhead=none, arrowtail=dot, dir=both]; ungleich_service_models_MatrixServiceProduct -> uncloud_vm_models_VMProduct [label=" vm (matrixserviceproduct)"] [arrowhead=none, arrowtail=dot, dir=both]; ungleich_service_models_MatrixServiceProduct -> uncloud_pay_models_Product [label=" abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; opennebula_models_VM -> uncloud_auth_models_User [label=" owner (vm)"] [arrowhead=none, arrowtail=dot, dir=both]; }