
    {i                     N    d dl Zd dlmZmZ d dlZ G d dej                        Zy)    N)
migrationsmodelsc                   :   e Zd ZdZddgZ ej                  dd ej                  dddd      fd	 ej                  d
      fd ej                  dddej                  j                  j                  d      g      fd ej                  dddej                  j                  j                  d      ej                  j                  j                  d      g      fd ej                   d      fd ej"                  d      fd ej"                  d      fd ej$                  ej&                  j                  j(                  j*                  dd      fgdd	dgd !       ej                  d"d ej                  dddd      fd# ej                  dd$dej                  j                  j                  d      g      fd ej                  dd%dej                  j                  j                  d      ej                  j                  j                  d      g      fd ej"                  d      fd ej"                  d      fd& ej$                  ej&                  j                  j(                  j*                  d'd(      fd) ej$                  ej&                  j                  j(                  j,                  d'd*      fgd'dgd !       ej.                  d) ej0                  d+d,-      .       ej.                  d/ ej0                  d0d1-      .      gZy2)3	MigrationT)
structuresA0016_structure_default_vat_rate_structure_invoice_prefix_and_more)bookings0016_booking_checkin_statusServiceidFID)auto_createdprimary_key	serializeverbose_namename   )
max_lengthdefault_price   zGross price including VAT.
   r   )decimal_places	help_text
max_digits
validatorsvat_ratez,VAT rate applied to the gross service price.   d   	is_active)default
created_at)auto_now_add
updated_at)auto_now	structureserviceszstructures.structure)	on_deleterelated_nameto)db_tableordering)r   fieldsoptionsBookingServicepricez3Gross price snapshot captured on booking selection.z0VAT rate snapshot captured on booking selection.bookingbooking_serviceszbookings.bookingservicezservices.service)r%   r   uniq_service_name_per_structure)r,   r   )
model_name
constraintbookingservice)r0   r2   uniq_service_per_bookingN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoField	CharFieldDecimalFielddjangocorer   MinValueValidatorMaxValueValidatorBooleanFieldDateTimeField
ForeignKeydbdeletionCASCADEPROTECTAddConstraintUniqueConstraint
operations     ,/backend/services/migrations/0001_initial.pyr   r      sz   G	
 	4L 	
 'F''%)$("'%)	 )))S9:#'F'''(">#%$*KK$:$:$L$LQ$O#P	 'F'''("P#$"KK22DDQG"KK22DDSI$	 1f11$?@3v33FG3v33TBC%F%%"())"2"2";";"C"C%/1G+Z '#TN]2	
f 	
! 'F''%)$("'%)	 'F'''("W#%$*KK$:$:$L$LQ$O#P	 'F'''("T#$"KK22DDQG"KK22DDSI$	 3v33FG3v33TBC%F%%"())"2"2";";"C"C%7- %F%%"())"2"2";";"C"C%7-S1f /!Fi8	
r 	!
   .v..,3T	
 	!
  '.v..-4N	
gyJrP   r   )django.core.validatorsrA   	django.dbr   r   django.db.models.deletionr   rO   rP   rQ   <module>rU      s$     (  E
$$ ErP   