o
    Zc                     @   sF   d dl mZ G dd dejZG dd dejZG dd dejZdS )	    )modelsc                   @   s   e Zd ZejdddddZejddddd	d
ZejdddddZejdddddZ	ej
dddddZejddddddZejddZejddZdd ZG dd dZdS )Country@   NCountry NamezValues: Enter Country Name.
max_lengthdefaultverbose_name	help_text   TzCountry SlugzValues: Enter Country Slug.r   uniquer   r	   r
      zCountry Short Namez!Values: Enter Country Short Name.zCountry Titlez!Values: Enter Country Meta Title.   zCountry Descriptionz'Values: Enter Country Meta Description.   zCountry Keywordz$Values: Enter Country Meta Keywords.r   nullblankr	   r
   auto_now_addauto_nowc                 C      | j S Nnameself r    /var/www/jaguar/addons/models.py__str__      zCountry.__str__c                   @      e Zd ZdZdS )zCountry.Metar   N__name__
__module____qualname__verbose_name_pluralr   r   r   r   Meta       r(   )r$   r%   r&   r   	CharFieldr   	SlugFieldslugcountry_short_nametitle	TextFielddescriptionkeywordDateTimeField
created_at
updated_atr    r(   r   r   r   r   r      s<    
r   c                   @   s   e Zd ZejedejddddZejddddd	Z	ej
d
dddddZejd
dddd	Zejddddd	ZejddddddZejddZejddZdd ZG dd dZdS )StateCountryStateNr   zValues: Select Country Name.related_name	on_deleter   r	   r
   r   z
State NamezValues: Enter State Name.r   r   Tz
State SlugzValues: Enter State Slug.r   zState TitlezValues: Enter State Meta Title.r   zState Descriptionz%Values: Enter State Meta Description.r   zState Keywordz"Values: Enter State Meta Keywords.r   r   r   c                 C   r   r   r   r   r   r   r   r    8   r!   zState.__str__c                   @   r"   )z
State.Metar5   Nr#   r   r   r   r   r(   ;   r)   r(   )r$   r%   r&   r   
ForeignKeyr   CASCADEcountryr*   r   r+   r,   r.   r/   r0   r1   r2   r3   r4   r    r(   r   r   r   r   r5   !   <    
r5   c                   @   s   e Zd ZejedejddddZejdddddZ	ej
d	d
ddddZejd	ddddZejdddddZejdd
d
dddZejd
dZejd
dZdd ZG dd dZdS )City	StateCityNz	City NamezValues: Select City Name.r7   r   zValues: Enter Category Name.r   r   Tz	City SlugzValues: Enter City Slug.r   z
City TitlezValues: Enter City Meta Title.r   zCity Descriptionz$Values: Enter City Meta Description.r   zCity Keywordz!Values: Enter City Meta Keywords.r   r   r   c                 C   r   r   r   r   r   r   r   r    U   r!   zCity.__str__c                   @   r"   )z	City.Metar>   Nr#   r   r   r   r   r(   X   r)   r(   )r$   r%   r&   r   r:   r5   r;   stater*   r   r+   r,   r.   r/   r0   r1   r2   r3   r4   r    r(   r   r   r   r   r>   >   r=   r>   N)	django.dbr   Modelr   r5   r>   r   r   r   r   <module>   s    