U
    ™£/dt  ã                   @   sZ   d dl mZ d dlmZ d dlZd dlmZ d dlmZ d dl	m
Z
 G dd„ dejƒZdS )	é    )Úmodels)ÚUniqueConstraintN)ÚWorkspaceUser)ÚProductClassificationModel)Ú	ULIDFieldc                   @   sz   e Zd Zee ¡ dd�Zeje	ej
dddd�Zejdd�Zejdd�Zejdd	�Zejed
ej
ddd�ZG dd„ dƒZdS )ÚFilterModelT)ÚdefaultÚprimary_keyÚcdÚproduct_classification_cd)Ú	on_deleteÚto_fieldÚ	db_columnÚnullé   )Ú
max_length)Úauto_now_add)Úauto_nowÚfiltersÚuser_uidZuser_cd)Úrelated_namer   r   r   c                   @   s0   e Zd ZdZdZedgdd� edgdd� dS )	zFilterModel.MetaFr   r
   Zfilter_unique)ÚfieldsÚnamer   Zfilter_unique_nameN)Ú__name__Ú
__module__Ú__qualname__ÚmanagedÚdb_tabler   © r   r   ú>C:\Users\offic\Desktop\PIM\XCMS_PIM\app\models\filter_model.pyÚMeta   s   r    N)r   r   r   r   ÚulidÚnewr
   r   Ú
ForeignKeyr   Ú
DO_NOTHINGÚproduct_classificationÚ	CharFieldr   ÚDateTimeFieldÚ
created_atÚ
updated_atr   Úuserr    r   r   r   r   r   	   s&   ûûr   )Ú	django.dbr   Údjango.db.models.constraintsr   r!   ÚXCMS_PIM.modelsr   Ú'app.models.product_classification_modelr   Úapp.utils.utilsr   ÚModelr   r   r   r   r   Ú<module>   s   