
    oif                         d dl Z d dlZd dlmZ d Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Zy)
    N)modelsc                      dj                  t        j                  t        j                  t        j
                  z   d            S )N    )k)joinrandomchoicesstringascii_lettersdigits     /D:\Rescue Scanner\qr_onkar\qr_manager\models.pygenerate_short_uuidr   
   s+    776>>&"6"6"F"MNNr   c                       e Zd Z ej                  dd      Z ej                  dej                        Z ej                  d      Z
 ej                  d      Z G d d	      Zy
)Category   T)
max_lengthuniqueaccounts.CompanyUser	on_deleteauto_now_add)auto_nowc                       e Zd ZdZy)Category.MetazQR CategoryN__name__
__module____qualname__verbose_name_pluralr   r   r   Metar      s    +r   r$   N)r    r!   r"   r   	CharFieldname
ForeignKeyCASCADE
created_byDateTimeFieldcreatedupdatedr$   r   r   r   r   r      s]    6s48D"""#9V^^TJ"f""5G"f""D1G, ,r   r   c                   f   e Zd Z ej                  ddde      Z ej                  eej                  dd      Z
 ej                  dd      Z ej                  d	ej                  
      Z ej                  dd      Z ej                  dd      Z ej                  d      Z G d d      Zy)Batch   TF)r   r   editabledefault)r   nullblank
      r   r1   r   r      blacktransparentr   c                       e Zd ZdZy)
Batch.MetaBatchesNr   r   r   r   r$   r;   !   s    'r   r$   N)r    r!   r"   r   r%   r   batch_numberr'   r   r(   categorycountr)   colorbgcolorr*   r+   r$   r   r   r   r.   r.      s    #6##r$XklL v  V^^$VZ[HFA6E"""#9V^^TJFW=Ef#}EG"f""5G( (r   r.   c                       e Zd Z ej                  dej
                        Z ej                  dd      Z ej                  dd      Z	y)UserSettingsr   r   r4      r6   r5   N)
r    r!   r"   r   OneToOneFieldr(   userr%   lengthr?   r   r   r   rC   rC   %   sC    6 6&..QDVQ7FFA6Er   rC   )	r	   r   	django.dbr   r   Modelr   r.   rC   r   r   r   <module>rJ      sD      O,v|| ,
(FLL 
(76<< 7r   