
    cB                        d dl mZ 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	 G d dej                        Z
 G d dej                        Z G d dej                        Zy)    )serializers)*c                   d    e Zd Z ej                  dddi      Z ej                  dddi      Zy)LoginSerializerTrequiredCountry code is required.r   error_messagesPhone number is required.N)__name__
__module____qualname__r   	CharFieldisd_codephone_number     //var/www/html/Beni/beni/auth_apis/serializer.pyr   r      s6    (;(($zRmFnoH(;(($zRmFnoLr   r   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)VerifyOtpSerializerTr   OTP is required.r	   r   r   Nr   r   r   r   r   otpr   r   r   r   r   r   r   	   sP    (;(($zRdFefC(;(($zRmFnoH(;(($zRmFnoLr   r   c                       e Zd Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z	 ej                  d      Z
y)UpdateProfileSerializerFr   N)r   r   r   r   r   
first_name	last_namer   r   dobemailr   r   r   r   r      sn    (;((%8J(;((%8I(;((%8H(;((%8L(;((%8C(;((%8Er   r   c                      e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Z	 ej                  ddd	i      Z
 ej                  ddd
i      Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)AddAddressSerializerTr   zAddress label is required.r	   zName is required.zAddress line is required.zCountry is required.zState is required.zCity is required.zLatitude is required.zLongitude is required.zPin code is required.r   r   N)r   r   r   r   r   address_labelnameaddress_linecountrystatecitylatitude	longitudepin_coder   r   r   r   r   r"   r"      s    )K))4
SoGpqM ;  $zJ]>^_D(;(($zRmFnoL#k##T*McAdeG!K!!4
K_?`aE ;  $zJ]>^_D${$$d:NeBfgH%%%tJOgChiI${$$d:NeBfgH${$$d:NiBjkH(;(($zRmFnoLr   r"   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)RegisterSerializerTr   r   r	   r   Password is required.Nr   r   r   r   r   r   r   passwordr   r   r   r-   r-   &   sP    %%%tJOjCklH(;((4
SnGopL${$$ZPgDhiHr   r-   c                      e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  d      Z ej                  dddi      Z ej                  d      Z	 ej                  d      Z
y	)
r   Tr   r   r	   r   Fr   zEmail is required.N)r   r   r   r   r   r   r   r   r    r   r   r   r   r   r   r   +   s    (;(($zRmFnoH(;(($zRmFnoL(;((%8C(;(($zRfFghE(;((%8J(;((%8Ir   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)VerifyOtppannelSerializerTr   r   r	   r   r   Nr   r   r   r   r3   r3   4   sP    
+

jI[=\
]C%%%tJOjCklH(;(($zRmFnoLr   r3   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)ResetPasswordSerializerTr   zOld password is required.r	   zNew password is required.Confirm password is required.N)r   r   r   r   r   old_passwordnew_passwordconfirm_passwordr   r   r   r5   r5   :   sQ    (;(($zRmFnoL(;((4
SnGopL,{,,d:VuJvwr   r5   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)loginSerializerTr   r   r	   r   r.   Nr/   r   r   r   r;   r;   @   sP    %%%tJOjCklH)K))4
SnGopL%%%tJOfCghHr   r;   c                       e Zd Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Z ej                  dddi      Zy)	ForgetPasswordSerializerTr   r   r	   r   r.   r6   N)	r   r   r   r   r   r   r   r0   r9   r   r   r   r=   r=   F   sk    ${$$ZPkDlmH(;((DToHpqL${$$ZPgDhiH,{,,ZXwLxyr   r=   N)rest_frameworkr   auth_apis.models
Serializerr   r   r   r"   r-   r3   r5   r;   r=   r   r   r   <module>rA      s    & p{-- p
p+00 p
9k44 9p;11 pj// j
9k44 9p 6 6 pxk44 xik,, iz{55 zr   