
    (&h                         S SK JrJrJr  S SKJr  S SKJrJrJr  S SK	J
r
   " S S\\
5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      rg)    )	BaseModelFieldEmailStr)datetime)OptionalListLiteral)Enumc                        \ rS rSrSrSrSrSrg)Status   activeinactivemaintenance N)__name__
__module____qualname____firstlineno__ACTIVEINACTIVEMAINTENANCE__static_attributes__r       QC:\Suresh\moveshuttle\MDcreated\moveengine\app\v1\models\platform\pricingrules.pyr   r      s    FHKr   r   c                   b    \ rS rSr% \\S'   Sr\\   \S'   \\S'   \\S'   \	S   \S'   \
\S	'   S
rg)	Condition   labelT
applicable	from_timeto_time)amount
percentagecalculation_typevaluer   N)r   r   r   r   str__annotations__r    r   boolr	   floatr   r   r   r   r   r      s0    J!%J%NL455Lr   r   c                   t   \ rS rSr% \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r	\\S	'   \" SS
S9r
\\S'   \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r\\S'   \" \S9r\\   \S'   \" \R(                  SS9r\\S'   \" \R(                  SS9r\\S'   \" SSS9r\\S'   \" \R2                  S9r\\S'   Srg)PricingRule   .Identifier for the accountdescription
account_idIdentifier for the useruser_idRule identifier	rule_name*Pricing type (e.g., fixed, time, distance)pricing_typeFixed base cost	base_costVariable cost per unitrate#Unit for pricing (e.g., minute, km)unitdefault_factory
conditionsCreation timestampr?   r0   created_dateLast updated timestampupdated_dateWPricing type value to showcase on the page. Valid options: 'Fixed', 'Time', 'Distance'.pricing_type_value)defaultstatusr   N)r   r   r   r   r   r1   r'   r(   r3   r5   r7   r9   r*   r;   r=   listr@   r   r   r   utcnowrC   rE   rG   r   r   rI   r   r   r   r   r,   r,      s    C-IJJJ*CDGSD3,=>Is>c/[\L#\S.?@Iu@)ABD%Bc'LMD#M"'"=JY="8??PdeL(e"8??PhiL(i#C  6O  P  P6==1FF1r   r,   c                      \ rS rSr% \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r	\\S'   \" SS	S9r
\\S
'   \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r\\S'   \" \S9r\\   \S'   \" \R*                  SS9r\\S'   \" \R*                  SS9r\\S'   \" SSS9r\\S'   \" SSS9r\\S'   \" SSS9r\\S'   S rg!)"PricingRuleList!   .r.   r/   r1   r2   r3   idr4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r@   rA   rB   rC   rD   rE   rF   rG   z3Status of the pricing rule (e.g., active, inactive)rI   z&Unique Identifier for the pricing rulepricing_rules_idr   N)r   r   r   r   r   r1   r'   r(   r3   rO   r5   r7   r9   r*   r;   r=   rJ   r@   r   r   r   rK   rC   rE   rG   rI   rP   intr   r   r   r   rM   rM   !   s   C-IJJJ*CDGSDC%>?B?3,=>Is>c/[\L#\S.?@Iu@)ABD%Bc'LMD#M"'"=JY="8??PdeL(e"8??PhiL(i#C  6O  P  P)^_FC_!#3[\c\r   rM   c                   0    \ rS rSr% \\S'   \\   \S'   Srg)PricingRules2   total_countusersr   N)	r   r   r   r   rQ   r(   r   rM   r   r   r   r   rS   rS   2   s      r   rS   c                        \ rS rSr% \\S'   Srg)PricingRuleStatusUpdate6   rI   r   N)r   r   r   r   r'   r(   r   r   r   r   rX   rX   6   s    Kr   rX   N)pydanticr   r   r   r   typingr   r   r	   enumr
   r'   r   r   r,   rM   rS   rX   r   r   r   <module>r]      sc    / /  * *  S$  
	 2) 2]i ]"!9 !i r   