B
    =]3                 @   s   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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 )    )dbc               @   sz   e Zd ZejejddZejeddddZeedZ	eedZ
ejdddd	Zejd
ddd	Zdd ZdS )SpaVerbT)primary_key    )indexunique   Translationspa_verbdynamic)backreflazy	Exceptionc             C   s   d| j j d| j dS )N< >)	__class____name__
infinitive)self r   !/var/www/html/conj/appl/models.py__repr__   s    zSpaVerb.__repr__N)r   
__module____qualname__r   ColumnIntegeridStringr   stemendingrelationshiptranslations
exceptionsr   r   r   r   r   r      s   r   c               @   sJ   e Zd ZejejddZejeddddZej	ddddZ
d	d
 ZdS )EngVerbT)r   r   )r   r   r	   eng_verbr   )r   r   c             C   s   d| j j d| j dS )Nr   r   r   )r   r   r   )r   r   r   r   r      s    zEngVerb.__repr__N)r   r   r   r   r   r   r   r   r   r!   r"   r   r   r   r   r   r$      s
   r$   c               @   sL   e Zd ZejejddZeejedZeejedZ	dd Z
dS )r	   T)r   zspa_verb.idzeng_verb.idc             C   s   d| j  d| j dS )Nz<Translation: spa=z eng=r   )spa_verb_ideng_verb_id)r   r   r   r   r   "   s    zTranslation.__repr__N)r   r   r   r   r   r   r   
ForeignKeyr&   r'   r   r   r   r   r   r	      s   r	   c               @   s:   e Zd ZejejddZejeddddZdd Z	dS )TenseT)r      )r   r   c             C   s   d| j  dS )Nz<Tense: r   )name)r   r   r   r   r   )   s    zTense.__repr__N)
r   r   r   r   r   r   r   r   r+   r   r   r   r   r   r)   %   s   r)   c               @   sV   e Zd ZejejddZejeddddZeej	Z
ejddddZd	d
 ZdS )PersonT)r   r*   )r   r   Pronounpersonr   )r   r   c             C   s   d| j  dS )Nz	<Person: r   )r+   )r   r   r   r   r   3   s    zPerson.__repr__N)r   r   r   r   r   r   r   r   r+   Booleanpluralr!   pronounsr   r   r   r   r   r,   ,   s
   r,   c               @   sN   e Zd ZejejddZejeddddZeeje	dZ
dd ZdS )	r-   T)r   r*   )r   r   z	person.idc             C   s   d| j  dS )Nz
<Pronoun: r   )pronoun)r   r   r   r   r   ;   s    zPronoun.__repr__N)r   r   r   r   r   r   r   r   r2   r(   	person_idr   r   r   r   r   r-   6   s   r-   c               @   sl   e Zd ZejejddZeedZeedZ	eeje
dZeeje
dZdd Zd	S )
EndingT)r   r      z	person.idztense.idc             C   s   d| j  d| j dS )Nz	<Ending: r   r   )r    	newending)r   r   r   r   r   E   s    zEnding.__repr__N)r   r   r   r   r   r   r   r   r    r6   r(   r3   tense_idr   r   r   r   r   r4   >   s   r4   c               @   sp   e Zd ZejejddZeedZeeje	dZ
eeje	dZeeje	dZdd Zd	S )
r   T)r   r   zspa_verb.idz	person.idztense.idc             C   s   d| j  dS )Nz<Exception: r   )conjugation)r   r   r   r   r   O   s    zException.__repr__N)r   r   r   r   r   r   r   r   r8   r(   Zverb_idr3   r7   r   r   r   r   r   r   H   s   r   c               @   sn   e Zd ZejejddZejeddddZeej	Z
eejZeejZeedZdd ZdS )SessionT)r   @   )r   r   c             C   s   d| j  dS )Nz
<Session: r   )
session_id)r   r   r   r   r   \   s    zSession.__repr__N)r   r   r   r   r   r   r   r   r;   LargeBinarydataDateTimecreatedexpiresZipaddrr   r   r   r   r   r9   T   s   r9   N)applr   Modelr   r$   r	   r)   r,   r-   r4   r   r9   r   r   r   r   <module>   s   


