U
    ¬‡ldŒ  ã                   @   sÌ   d dl mZ ddlmZmZmZmZmZ G dd„ dejƒZ	ej
 ee	¡ G dd„ dejƒZej
 ee¡ G dd	„ d	ejƒZej
 ee¡ G d
d„ dejƒZej
 ee¡ G dd„ dejƒZej
 ee¡ dS )é    )Úadminé   )ÚEnvironmentÚAbstractUserPlanÚAbstractInstitutePlanÚUserPlanÚInstitutePlanc                   @   s   e Zd ZdZdZdgZdS )ÚEnvironmentAdmin)ÚnameÚ
active_envÚdefault_wage_factorÚdefault_tax_factorÚdefault_min_wage_feeÚmodified_at©r
   r   N©Ú__name__Ú
__module__Ú__qualname__Úlist_displayÚsearch_fieldsÚlist_filter© r   r   ú&/var/www/wikiazma_server/plan/admin.pyr	      s   r	   c                   @   s   e Zd ZdZdZddgZdS )ÚAbstractUserPlanAdmin©r
   ÚpriceÚactual_priceÚdurationr   Úactiver   r   r   Nr   r   r   r   r   r      s   r   c                   @   s   e Zd ZdZdZddgZdS )ÚAbstractInstitutePlanAdminr   r   r   r   Nr   r   r   r   r   r       s   r    c                   @   s   e Zd ZdZdZddgZdS )ÚInstitutePlanAdmin)r
   Ú	instituteÚ
start_dateÚend_date)r
   Zinstitute__namer#   r$   Nr   r   r   r   r   r!   '   s   r!   c                   @   s"   e Zd ZdZdZddgZdgZdS )ÚUserPlanAdmin)r
   Úuserr#   r$   )r
   Z
user__nameÚuser__emailr#   r$   r&   N)r   r   r   r   r   r   Úraw_id_fieldsr   r   r   r   r%   2   s   r%   N)Zdjango.contribr   Úmodelsr   r   r   r   r   Ú
ModelAdminr	   ÚsiteÚregisterr   r    r!   r%   r   r   r   r   Ú<module>   s   		