
    0j+                         d dl mZmZmZmZmZmZmZmZm	Z	 d dl
mZ ddlmZ ddlmZ  G d de          Z G d d	e          Zd
S )    )	AnyOptionalUnionDictListSetIOCallableType)init   )I18n)CountryRegionc                   @    e Zd ZeeeeeedZddZ	e
dd            ZdS )	Paygroup)pay_group_idnamecodestatuscountry_regionis_global_regionNc                     d | _         d | _        d | _        d | _        d | _        d | _        t          | || j                   d S N)r   r   r   r   r   r   r   _types)selfds     h/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/lark_oapi/api/payroll/v1/model/paygroup.py__init__zPaygroup.__init__   sI    +/$(	#'	%)7;04T1dk"""""    returnPaygroupBuilderc                      t                      S r   )r!    r   r   builderzPaygroup.builder   s       r   r   )r    r!   )__name__
__module____qualname__strr   intr   boolr   r   staticmethodr$   r#   r   r   r   r   	   sf        '  F# # # # ! ! ! \! ! !r   r   c                   ~    e Zd ZddZdedd fdZdedd fdZdedd fd	Zd
e	dd fdZ
dedd fdZdedd fdZddZdS )r!   r    Nc                 ,    t                      | _        d S r   )r   	_paygroupr   s    r   r   zPaygroupBuilder.__init__"   s    !r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   zPaygroupBuilder.pay_group_id%   s    &2#r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   zPaygroupBuilder.name)       "r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   zPaygroupBuilder.code-   r2   r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   zPaygroupBuilder.status1   s     &r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   zPaygroupBuilder.country_region5   s    (6%r   r   c                     || j         _        | S r   )r.   r   )r   r   s     r   r   z PaygroupBuilder.is_global_region9   s    *:'r   r   c                     | j         S r   )r.   r/   s    r   buildzPaygroupBuilder.build=   s
    ~r   )r    N)r    r   )r%   r&   r'   r   r(   r   r   r   r   r)   r   r   r   r*   r   r8   r#   r   r   r!   r!   !   s       $ $ $ $ 1B     "3     !2    S %6    ] ?P     :K         r   r!   N)typingr   r   r   r   r   r   r	   r
   r   lark_oapi.core.constructr   i18nr   r   r   objectr   r!   r#   r   r   <module>r=      s    M L L L L L L L L L L L L L L L L L L L L L ) ) ) ) ) )       ) ) ) ) ) )! ! ! ! !v ! ! !0    f     r   