
    .i                     N    d dl Zd dlZd dlmZmZ  G d dej                        Zy)    N)
migrationsmodelsc                      e Zd ZdZg Z ej                  dd ej                  dddd      fd ej                  dd	
      fd ej                  g dd      fd ej                  g ddd      fd ej                  dddd      fd ej                  dd      fd ej                  ej                  j                  j                         fd ej                  dd      fd ej                  dddd      fd ej"                  ddd      fd  ej                  d!      fd" ej                  d#      fgd$d%gi&       ej                  d'd ej                  dddd      fd( ej$                  d)      fd* ej                  d+      fd, ej                  g d-d      fd. ej&                  d/      fd0 ej                  dd	
      fd1 ej                  ddd	d2      fd3 ej                  de4      fd5 ej*                  d      fd  ej                  d!      fd" ej                  d#      fgd$d,d0gi&       ej                  d6d ej                  dddd      fd ej                  g d7d8d      fd9 ej                  g d:d      fd; ej                  ej                  j                  j                         fd< ej                  dd      fd= ej                  dd      fd> ej                  dd      fd? ej                  dd      fd@ ej                  dd	
      fdA ej                  ddBdCD      fdE ej                  dd      fdF ej&                  d/      fd  ej                  d!      fd" ej                  d#      fdG ej,                  ej.                  j                  j0                  j2                  dHI      fgd$dJgi&      gZyK)L	MigrationTPaymentidFID)auto_createdprimary_key	serializeverbose_nameamount   
   )decimal_places
max_digitspayment_method))credit_cardzCredit Card)bank_transferzBank Transfer)paypalPayPal)otherOther   )choices
max_lengthstatus))pendingPending)
processing
Processing)	completed	Completed)failedFailed)refundedRefundedr   )r   defaultr   transaction_idd   )blankr   nulluniquegateway_response)r+   r,   payment_date)r(   processed_atinvoice_number2   invoice_pdfz	invoices/)r+   r,   	upload_to
created_at)auto_now_add
updated_at)auto_noworderingz-payment_date)namefieldsoptionsSubscriptionPlaninternal_plan_id)r-   r:   )r   	plan_type))basicBasic)proPro)
enterprise
EnterprisecustomCustomdescription)r+   monthly_priceannual_price)r+   r   r   r,   access_control)r+   r(   	is_activeUserSubscription))trialTrial)activeActive)pausedPaused)	cancelled	Cancelled)expiredExpiredrO   billing_cycle))monthlyMonthly)annualAnnualrF   
start_dateend_datetrial_end_datenext_billing_datecancelled_atcurrent_pricediscount_percentager      )r   r(   r   custom_access_controlnotessubscription_planzbilling.subscriptionplan)	on_deletetoz-created_atN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoFieldDecimalField	CharField	JSONFieldDateTimeFielddjangoutilstimezonenow	FileFieldIntegerField	TextFielddictBooleanField
ForeignKeydbdeletionPROTECT
operations     I/var/www/app.tikistats.com/public_html/billing/migrations/0001_initial.pyr   r      s   GL 	
*v**$Z_nrst.6..aBOP!#36#3#3  =k  xz  ${  |+6++  5w  AJ  WY  Z  [!#36#3#3$3UYbf#gh#%5V%5%5Dt%LM!5!5!5fll>S>S>W>W!XY!5!5!5Dt!LM!#36#3#3$2TXae#fg 0 0 0t$R] ^_3v33FG3v33TBC _-!	
( 	
#*v**$Z_nrst#%8V%8%8%EF)))S9:.f..  8P  ]_  `  a 0 0 0t <= "5&"5"5QSU"VW!4!4!44PQ^`gk!lm!#36#3#3$#MN1f11$?@3v33FG3v33TBC [/:	
& 	
#*v**$Z_nrst+6++  5i  sz  GI  J  K "2&"2"2;  MO  #P  Q3v33FLL<Q<Q<U<UVW1V114HI!#76#7#7d#NO$&:f&:&:D&QR!5!5!5Dt!LM "5&"5"5QSU"VW&(;(;(;1VWde(fg(*:&*:*:D*QR*&**673v33FG3v33TBC$&7f&7&7&))BRBRB[B[BcBc  iC  'D  E$ ]O'	
Q?Jr   r   )django.db.models.deletionrv   django.utils.timezone	django.dbr   r   r   r   r   r   <module>r      s$    !  (F
$$ Fr   