o
    6k~i                     @   s6   d dl Zd dlmZmZ d dlZG dd dejZdS )    N)
migrationsmodelsc                   @   s:  e Zd ZdZdgZejddejdddddfdej	d	d
dfdej
ddfdejddejjdejjdgddfdejddfdejddfdejdddddfdejdedd fd!ejdd"d#fd$ejdd%fd&ejdd'fd(ejejjjjd)d*d+d,fgdd-d.gejd(gd/d0ejg d1d2d0gd3d4gZd5S )6	MigrationT)places0001_initialOfferidFID)auto_createdprimary_key	serializeverbose_nametitle   Title)
max_lengthr   descriptionDescription)r   discount      g        g      Y@zDiscount (%))decimal_places
max_digits
validatorsr   
start_datez
Start Dateend_datezEnd Dateimagezoffers/Image)blanknull	upload_tor   termsTerms)r   defaultr   	is_activez	Is Active)r#   r   
created_at)auto_now_add
updated_at)auto_nowplaceofferszplaces.placePlace)	on_deleterelated_nametor   Offersz-created_atoffers_offe_place_i_78494d_idx)fieldsname)r$   r   r   offers_offe_is_acti_e6c4de_idx)r   verbose_name_pluralorderingindexes)r2   r1   optionsN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoField	CharField	TextFieldDecimalFielddjangocorer   MinValueValidatorMaxValueValidatorDateTimeField
ImageField	JSONFielddictBooleanField
ForeignKeydbdeletionCASCADEIndex
operations rQ   rQ   C/var/www/newdalilibackend/backend/offers/migrations/0001_initial.pyr      s4    , r   )django.core.validatorsrB   	django.dbr   r   django.db.models.deletionr   rQ   rQ   rQ   rR   <module>   s   