a
    se                     @   s   d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	 G dd dej
ZG dd dej
ZG d	d
 d
ej
ZG dd dej
ZG dd dej
ZG dd dej
ZG dd dej
ZG dd dej
ZG dd dej
ZdS )    )make_archive)models)User)CASCADESET_NULL
DO_NOTHINGc                   @   s2  e Zd ZejdddZejdddZejddddZejddddZ	ejddddZ
ejdd	Zejdd
ZejddddZejddddZejdd
ZejddddZejddddZejddddZejd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ddZejddddZejddddZejddddZejddddZejddddZej dd
Z!ej dd
Z"ej 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d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dZ.ej-ddZ/ej-dd
Z0G dd dZ1dS )SeerUser    )
max_lengthdefaultd   Tr   r   null   Fr   r      2   r   r   )r   r   r      ?   UTCauto_now_addauto_nowc                   @   s   e Zd ZdZdS )zSeerUser.Meta	seer_userN__name__
__module____qualname__db_table r#   r#   0/var/www/html/Ryun_Seer/seer/seer_user/models.pyMeta0   s   r%   N)2r   r    r!   r   	CharField
first_name	last_name
EmailFieldemailgenderZemail_verification_linkBooleanFieldZemail_verified	DateFieldZdate_of_birthZphone_numberpasswordIntegerFieldZotpZforgot_password_linkZuser_stripe_idZ	fcm_tokenZdevice_typeZprovider_idZ	social_idZreferal_codeZreligionZ
professionheightZcountry_originstateZcity	TextField	languageshobbiesZbioZ	educationZincomeZprimary_imageimagestimezoneZis_profile_completedZnotification_statusstatusZaccount_deletedDateTimeField
created_at
updated_atend_dater%   r#   r#   r#   r$   r      sN   r   c                   @   s   e Zd ZejeejddZejdedZ	ejdedZ
ejdedZejdedd	Zejdd
ZejddZejddZG dd dZdS )SeerUserSignDetailZ
seer_signs	on_deleterelated_namezadmin_panel.Horoscoper>   zadmin_panel.ChineseZodiaczadmin_panel.FiveElementszadmin_panel.MBTITr>   r   r   r   r   c                   @   s   e Zd ZdZdS )zSeerUserSignDetail.MetaZseer_user_signsNr   r#   r#   r#   r$   r%   >   s   r%   N)r   r    r!   r   
ForeignKeyr   r   r   r   	horoscopechinese_zodiacZfive_elementmbtir8   r9   r:   r;   r%   r#   r#   r#   r$   r<   5   s   r<   c                   @   sx   e Zd Zejdd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ZejddZejdd	ZG d
d dZdS )SeerUserNotificationsr   Tr   r@   Fr   r   r   r   r   c                   @   s   e Zd ZdZdS )zSeerUserNotifications.MetaZseer_user_notificationsNr   r#   r#   r#   r$   r%   K   s   r%   N)r   r    r!   r   r&   messageZnotification_typerB   r   r   r   r,   is_readr8   r9   r:   r;   r%   r#   r#   r#   r$   rF   B   s   rF   c                   @   s~   e Zd ZejdejddZejeejddZej	dddZ
ejdddZejddZejddZejdd	ZG d
d dZdS )FavouriteUnfavouriteFortunefortune_teller.FortuneTellerTrA   FrG   )r   r   r   r   r   c                   @   s   e Zd ZdZdS )z FavouriteUnfavouriteFortune.MetaZfavourite_unfavourite_fortuneNr   r#   r#   r#   r$   r%   X   s   r%   N)r   r    r!   r   rB   r   Zfortuner   r   r,   Zis_favouriter8   Zfavourite_dater9   r:   r;   r%   r#   r#   r#   r$   rJ   O   s   rJ   c                   @   s&  e Zd ZejdddZejdejddZeje	ejddZ
ejdddZejdddZejdddZejdejddZejdddZejd	ddd
ZejddZej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ddZejddZejddZejddZG dd dZdS )FortuneAppointmentBookr   Tr   rK   rA   r   r   zadmin_panel.ServicePending)r   r   r   r   Fr   r   r   r   c                   @   s   e Zd ZdZdS )zFortuneAppointmentBook.MetaZfortune_appointement_bookNr   r#   r#   r#   r$   r%   r   s   r%   N) r   r    r!   r   r&   Zappointment_idrB   r   fortune_tellerr   r   Zappointment_dateZappointment_timer6   serviceZservice_typeZappointment_statusr2   Zcancellation_reasonr,   Zappointment_completedr/   ZpriceZtwilio_channel_sidZtwilio_room_nameZis_paidZcancelled_byr8   r9   r:   r;   r%   r#   r#   r#   r$   rL   ]   s(   rL   c                   @   s`   e Zd ZejeejddZejddddZ	ej
ddZej
dd	Zej
dd
ZG dd dZdS )SeerUserWalletZwalletr=   
      r   
max_digitsdecimal_placesr   Tr   r   r   c                   @   s   e Zd ZdZdS )zSeerUserWallet.MetaZseer_user_walletNr   r#   r#   r#   r$   r%   }   s   r%   N)r   r    r!   r   rB   r   r   r   DecimalFieldamountr8   r9   r:   r;   r%   r#   r#   r#   r$   rP   v   s   rP   c                   @   s   e Zd Zejeej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dZejdddZejddZejddZejddZejdd	ZG d
d dZdS )SeerUserCardsTrA   r   r   Fr   r   r   r   c                   @   s   e Zd ZdZdS )zSeerUserCards.MetaZseer_user_cardsNr   r#   r#   r#   r$   r%      s   r%   N)r   r    r!   r   rB   r   r   r   r&   Zcard_idZ	exp_monthZexp_yearZthe_user_stripeZlast_digitsr,   Z
is_defaultr8   r9   r:   r;   r%   r#   r#   r#   r$   rX      s   rX   c                   @   s   e Zd ZejeejddZejddddZ	ejdddZ
ejeejddZejdd	d
dZejddddZejddddZejddddZejdddZejddZejddZejddZG dd dZdS )SeerUserTranscationTrA   r   r
   r   r   r   rQ   rR   r   rS   r   r   r   c                   @   s   e Zd ZdZdS )zSeerUserTranscation.MetaZseer_user_transcationNr   r#   r#   r#   r$   r%      s   r%   N)r   r    r!   r   rB   rL   r   Zbookingr&   Ztranscation_idZ	charge_idr   r   rV   rW   Ztxn_idZrecipet_urlZpayment_modeZtranscation_typer8   r9   r:   r;   r%   r#   r#   r#   r$   rY      s   rY   c                   @   sn   e Z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dZejddZejdd	ZG d
d dZdS )FriendRequest	from_userr=   to_userFr   Tr   r   r   c                   @   s   e Zd ZdZdS )zFriendRequest.MetaZseer_user_friendsNr   r#   r#   r#   r$   r%      s   r%   N)r   r    r!   r   rB   r   r   r[   r\   r,   Zacceptedr8   r9   r:   r;   r%   r#   r#   r#   r$   rZ      s   rZ   N)shutilr   	django.dbr   django.contrib.auth.modelsr   django.db.models.deletionr   r   r   Modelr   r<   rF   rJ   rL   rP   rX   rY   rZ   r#   r#   r#   r$   <module>   s   -