
    {iu
                         d dl mZ d dlmZ d dlmZmZmZmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d dlmZ d	d
lmZmZ  G d de      Z G d de      Z G d de      Z G d de      Zy)    )Query)datetime)OptionalListUnionDict)	BaseModel)Json)Field)SettingsInputFieldTypes)
BaseSchema   )MerchantSchemaMerchantContactBasec                   f   e Zd ZU  ed      Zee   ed<    edd      Zee   ed<    edd      Z	ee   ed	<    ed
      Z
ee   ed<    ed      Zee   ed<    ed      Zee   ed<    ed      Zee   ed<    ed      Zee   ed<    ed      Zee   ed<    ed      Zee   ed<   y)MerchantSettingsBasez/Key of MerchantSettings. The primary identifierdescriptionkey5Form Value, inclusive of alphabetical characters onlyN)r   defaultvalue5Form label, inclusive of alphabetical characters onlylabelz6A valid string, can be used for categorizing settings.groupz#An unique and valid form input name
field_namezHTML input field type
field_typezOptional key value pairs as an JSON object, Used when HTML input type is selct or multiselect, for storing options mapping as key value pairsfield_options,Does this setting have lock feature enabled?has_lock>Is this setting locked? Only applicable if has_lock is enabled	is_lockedzDisplay order of this settingdisplay_order)__name__
__module____qualname__r   r   r   str__annotations__r   r   r   r   r   r   r   r
   r    boolr"   r#   int     j/var/www/html/hwPaymentPortal-be-dev/hw-payment-portal-api/src/apps/merchants/schemas/merchant_settings.pyr   r      s   EC#  !KE8C=  !KE8C=  !LE8C=  !&2W XJX49+5J01  %* d%M8D>   %B Hhtn  !&T!Ix~  $)5T#UM8C=Ur,   r   c                   L    e Zd ZU  ed      Zeed<    ed      Zee	   ed<   y)MerchantSettingsSchemaId of MerchantSettings resourcer   idz*Merchant of this MerchantSettings resourcemerchantN)
r$   r%   r&   r   r1   r*   r(   r2   r   r   r+   r,   r-   r/   r/   ,   s+     ABBB).@*Hh~& r,   r/   c                       e Zd Zy)#MerchantSettingsCreateRequestSchemaN)r$   r%   r&   r+   r,   r-   r4   r4   3   s    r,   r4   c                       e Zd ZU  ed      Zeed<    ed      Zee	   ed<    ed      Z
ee	   ed<    ed      Zee   ed	<    ed
      Zeeee   e	f      ed<    ed      Zee   ed<   y)#MerchantSettingsUpdateRequestSchemar0   r   r1   r   r   r   r   r   r    zField Optionsr   r!   r"   N)r$   r%   r&   r   r1   r*   r(   r   r   r'   r   r    r)   r   r   r   r   r"   r+   r,   r-   r6   r6   7   s     ABBB KE8C=  !KE8C=   %B Hhtn  7<6XM8E$t*c/23X %T!Ix~ r,   r6   N)fastapir   r   typingr   r   r   r   pydantic.mainr	   pydantic.typesr
   pydanticr   src.core.utils.enumsr   src.apps.base.schemas.commonr   merchant_commonr   r   r   r/   r4   r6   r+   r,   r-   <module>r?      sW      . . #   8 3 @V: V>1 	*> 	* r,   