Ë
    }0=iÚ  ã                   óB   — d Z ddlmZmZ  G d„ dej                  «      Zy)z*Initial migration for wallet transactions.é    )Ú
migrationsÚmodelsc                   óh  — e Zd ZdZg Z ej                  dd ej                  d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gdd¬«      fd ej                  ddd¬«      fd ej                  ddd¬«      fd ej                  dddd¬«      fd  ej                  dd!d"¬#«      fd$ ej                  ddd%¬&«      fd' ej                  ded(¬#«      fgd)d*gd+œ¬,«       ej"                  d- ej$                  ddgd.¬/«      ¬0«       ej"                  d- ej$                  dd$gd1¬/«      ¬0«       ej"                  d- ej$                  ddgd2¬/«      ¬0«       ej"                  d- ej$                  dd$gd3¬/«      ¬0«      gZy4)5Ú	MigrationTÚWalletTransactionÚidFÚID)Úauto_createdÚprimary_keyÚ	serializeÚverbose_nameÚwtypezBWallet type / point type (e.g., 'credit_balance', 'reward_points')é2   )Údb_indexÚ	help_textÚ
max_lengthÚiidzDInitiator ID - user who performed this transaction (-100 for system))r   r   ÚuidzUser ID - owner of the walletÚtype)Úcz
Credit/Add)ÚdzDebit/Deductz:Transaction type: 'c' for credit/add, 'd' for debit/deducté   )Úchoicesr   r   Úamounté   zTransaction amounté   )Údecimal_placesr   Ú
max_digitsÚbalancezBalance after this transactionÚ
trans_typezGTransaction type code (integer constant, e.g., 1000 for wallet-deposit))Úblankr   r   ÚnullÚdescrÚ zRemarks/description)r!   Údefaultr   ÚcdatezCreation date/time)Úauto_now_addr   r   Ú
extra_dataz Additional fields stored as JSONÚwallet_transactionsz-cdate)Údb_tableÚordering)ÚnameÚfieldsÚoptionsÚwallettransactionÚwallet_tran_uid_wtype_idx)r-   r,   )Ú
model_nameÚindexÚwallet_tran_uid_cdate_idxÚwallet_tran_wtype_trans_idxÚwallet_tran_iid_cdate_idxN)Ú__name__Ú
__module__Ú__qualname__ÚinitialÚdependenciesr   ÚCreateModelr   ÚBigAutoFieldÚ	CharFieldÚBigIntegerFieldÚDecimalFieldÚIntegerFieldÚ	TextFieldÚDateTimeFieldÚ	JSONFieldÚdictÚAddIndexÚIndexÚ
operations© ó    úg/home/cursorai/projects/telegram-earn/packages/wallet_utils/src/wallet_utils/migrations/0001_initial.pyr   r      sw  „ Ø€Gà€Lð 	ˆ
×ÑØ$ð Ø'�F×'Ñ'Ø%)Ø$(Ø"'Ø%)ô	ðð Ø$�F×$Ñ$Ø!%Ø"fØ#%ôðð Ø*�F×*Ñ*Ø!%Ø"hôðð Ø*�F×*Ñ*Ø!%Ø"Aôðð Ø$�F×$Ñ$Ø!4Ð6KÐ LØ"^Ø#$ôðð Ø'�F×'Ñ'Ø'(Ø"6Ø#%ôðð Ø'�F×'Ñ'Ø'(Ø"BØ#%ôðð !Ø'�F×'Ñ'Ø"Ø!%Ø"kØ!ô	ðð Ø$�F×$Ñ$Ø"Ø "Ø"7ôðð Ø(�F×(Ñ(Ø%)Ø!%Ø"6ôðð !Ø$�F×$Ñ$Ø"Ø $Ø"DôððcYðv 2Ø%˜Jñôy`	
ðB 	ˆ
×ÑØ*Ø�&—,‘, u¨gÐ&6Ð=XÔYô	
ð 	ˆ
×ÑØ*Ø�&—,‘, u¨gÐ&6Ð=XÔYô	
ð 	ˆ
×ÑØ*Ø�&—,‘, w°Ð&=ÐDaÔbô	
ð 	ˆ
×ÑØ*Ø�&—,‘, u¨gÐ&6Ð=XÔYô	
ð]r�JrI   r   N)Ú__doc__Ú	django.dbr   r   r   rH   rI   rJ   Ú<module>rM      s   ðÙ 0ç (ôw�
×$Ñ$õ wrI   