o
    h                     @   s.   d dl Zd dlmZmZ G dd dejZdS )    N)
migrationsmodelsc                   @   s  e Zd ZdZdgZejddejdddddfdej	d	d
fdej	g dddfde
 fdej	dddfdej	dddfdejddfdejddfgdejddejdddddfdej	d	d
fdej	d	d
fdej
dddfdej	dddfdejddfdejddfdejdddfd ejd!dfd"ejd!dfd#ejdddfdejddfd$ejdd%fd&ejejjjjd'd(d)fgdejd*dejdddddfd+ej	d,d
fd-ejddfd.ejdd/fd0ejejjjjd1d2d)fgd3d4gid5gZd6S )7	MigrationT)	customers0001_initialNetworkDeviceidFID)auto_createdprimary_key	serializeverbose_namenamed   )
max_lengthdevice_type))routerRouter)switchSwitch)access_pointzAccess Point)serverServer   )choicesr   
ip_addressmac_address   )blankr   location   	is_active)default
created_at)auto_now_add)r   fieldsClientConnectionusernamepassword)r   null	is_online	last_seenbytes_uploadedr   bytes_downloadedsession_time
updated_at)auto_nowcustomerconnectionszcustomers.customer)	on_deleterelated_nametoConnectionLogaction2   	timestampdetails)r   
connectionlogsznetwork.clientconnectionorderingz
-timestamp)r   r%   optionsN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoField	CharFieldGenericIPAddressFieldBooleanFieldDateTimeFieldBigIntegerFieldDurationField
ForeignKeydjangodbdeletionCASCADE	TextField
operations rS   rS   ?/var/www/html/optinet_system/network/migrations/0001_initial.pyr      s\    
r   )django.db.models.deletionrM   	django.dbr   r   r   rS   rS   rS   rT   <module>   s   