
    e                     J   d dl mZ d dl d dl  G d dej                        Z G d dej                        Z G d dej                        Z G d	 d
ej                        Z G d dej                        Z	 G d dej                        Z
 G d dej                        Zy)    )models)*c                      e Zd Z ej                  eej                  d      Z ej                  dd      Z	 ej                  dd      Z
 ej                  dd      Z ej                  dd      Z ej                  dd      Z ej                  d      Z ej                   d      Z ej                   d      Z ej                   d	      Z G d
 d      Zy)	UserCardsT	on_deletenulld   
max_lengthr	   Fdefaultauto_now_addauto_nowr	   c                       e Zd ZdZy)UserCards.Meta
user_cardsN__name__
__module____qualname__db_table     6/var/www/html/Manimaran/manimaran/user_panel/models.pyMetar      s    (r   r   N)r   r   r   r   
ForeignKeyUserCASCADEuser	CharFieldcard_id	exp_monthexp_yearthe_user_stripelast_digitsBooleanField
is_defaultDateTimeField
created_at
updated_atend_dater   r   r   r   r   r   	   s    $TB6s5V$7F6#6##s=v3D9!f!!%0"f""5"f""D1!V!!t, r   r   c                   0   e Zd Z ej                  dd      Z ej                  eej                  dd      Z	 ej                  eej                  dd      Z
 ej                  eej                  d      Z ej                  dd      Z ej                  dd      Z ej                  d	dd
      Z ej                  dd      Z ej"                  d      Z ej&                  d      Z ej                  dd      Z ej,                  dd      Z ej,                  dd      Z ej,                  dd      Z ej,                  dd      Z ej&                  d      Z ej8                  dd      Z ej8                  d      Z G d d      Zy)UserBookingsr
   Tr   r#   r   r	   related_nameworkerr      Pending)r   r   r	   r   Fr   r   r   r	   r   r	   c                       e Zd ZdZy)UserBookings.Metauser_bookingsNr   r   r   r   r   r:   -   s    (r   r   N) r   r   r   r   r$   
booking_idr    r!   r"   r#   r4   SubCategorysub_servicesbooking_datebooking_timebooking_statuscancelled_by	TextFieldcancellation_reasonr*   booking_completedcomplete_imageIntegerFieldpriceplatform_feesadmin_commission_feestotal_amountis_paidr,   
start_dater/   r   r   r   r   r1   r1      s   f#48$TvV
&

D6>>tQY
Z!!!+&..dS   CT:   CT:"&""9N   CT:'v''T2(V((7"&""ct<				6$$$QD9,,,QDA###A486u-"f""%@ F  d+ r   r1   c                      e Zd Z ej                  eej                  d      Z ej                  ddd      Z	 ej                  e
ej                  d      Z ej                  ddd	      Z ej                  d
dd      Z ej                  d
dd      Z ej                  ddd      Z ej                  dd      Z ej$                  d      Z ej$                  d      Z ej$                  d      Z G d d      Zy)UserTranscationTr   r
    )r   r   r	   
      r   )
max_digitsdecimal_placesr      r   r   r   r   c                       e Zd ZdZy)UserTranscation.Metauser_transcationNr   r   r   r   r   rW   >   s    (r   r   N)r   r   r   r   r    r1   r"   bookingr$   transcation_idr!   r#   DecimalFieldamounttxn_idrecipet_urlpayment_modetranscation_typer,   r-   r.   r/   r   r   r   r   rO   rO   1   s    6\FNNM"&""c"$G$TB6"QJ
&

c"$
?v3rtD   CE$F$$>"f""5"f""D1!V!!t,   r   rO   c                       e Zd Z ej                  eej                        Z ej                  d      Z	 ej                  dd      Z ej                  dd      Z ej                  dd      Z ej                  d      Z G d	 d
      Zy)CustomerNotificationsr   Tr   Fr7   r
   r   r8   c                       e Zd ZdZy)CustomerNotifications.Metacustomer_notificationsNr   r   r   r   r   re   L   s    %(r   r   N)r   r   r   r   r    r!   r"   customerrC   messager*   is_readr$   typer,   rM   r/   r   r   r   r   rb   rb   D   s    Fdv~~>6&6u$7CT2"f""%@ F  d+& &r   rb   c                       e Zd Z ej                  eej                        Z ej                  d      Z	 ej                  d      Z ej                  d      Z G d d      Zy)
UserWalletrc   Tr   r   c                       e Zd ZdZy)UserWallet.Metauser_walletNr   r   r   r   r   rn   W   s    (r   r   N)r   r   r   r   r    r!   r"   r#   rG   r\   r,   rM   r/   r   r   r   r   rl   rl   Q   sZ    $6>>:
&

4
("f""5!V!!t, r   rl   c                   x   e Zd Z ej                  d      Z ej                  d      Z ej                  e	ej                  d      Z ej                  eej                  dd      Z ej                  eej                  dd      Z ej                  dd      Z ej                  d      Z G d d	      Zy
)ServiceProviderRatingReviewsTr   r   service_providerr2   rg   r8   c                       e Zd ZdZy)!ServiceProviderRatingReviews.Metaserviceprovider_rating_reviewsNr   r   r   r   r   rt   d   s    -(r   r   N)r   r   r   r   rG   ratingrC   reviewr    r1   r"   rY   r!   rr   r#   r,   rM   r/   r   r   r   r   rq   rq   [   s    
&

4
(
&


%6\fnn$O%F%%dv~~4]op$6>>tQ[\"f""$?!V!!t,. .r   rq   c                      e Zd Z ej                  eej                  d      Z ej                  eej                  d      Z ej                  e	ej                  d      Z
 ej                  ddd      Z ej                  dd	      Z ej                  dd	      Z ej                  d
      Z ej                  d      Z ej                  d      Z ej                  d
      Z G d d      Zy)Conversation	chat_user)r   r3   chat_service_providerTr      )r   blankr	      r   r   r   r   c                       e Zd ZdZy)Conversation.MetaconversationNr   r   r   r   r   r   t   s    (r   r   N)r   r   r   r   r    r!   r"   r#   rr   r1   rY   r$   twilio_channel_siduser_twilio_idservice_provider_twilio_idr,   last_messager-   r.   r/   r   r   r   r   ry   ry   h   s    $&..kR%F%%dfnnRij6\FNNM&f&&#TM"&""c=.f..#DI$$$$/"f""5"f""D1!V!!t, r   ry   N)	django.dbr   admin_panel.modelsworker_panel.modelsModelr   r1   rO   rb   rl   rq   ry   r   r   r   <module>r      s~       !  6<< 0 fll  &	&FLL 	& 
.6<< 
.6<< r   