o
    ÎÛ·h]  ã                   @   s   G d d„ dƒZ dS )c                   @   sŒ   e Zd ZdZdZdZdZdZdZdZ	dZ
dZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ ZdS )Ú&EmployeePaystructure_deductionsRequestNc                 C   sü   d|v r	|d | _ d|v r|d dkr|d | _nd | _d|v r+|d dkr+|d | _d|v r:|d dkr:|d | _d|v rC|d | _d|v rL|d | _d|v r_|d dkr\|d | _nd	| _d
|v rh|d
 | _d|v rq|d | _d|v r||d | _	d S d S )NÚidÚtypeÚ Ú	from_dateÚto_dateÚemployee_idÚpaycomponent_idÚamountg        Údeduction_idÚis_customdeductÚpaycomponent)
r   r   r   r   r   r   r	   r
   r   r   )ÚselfÚpayroll_data© r   úU/var/www/FinalPayroll/payrollservice/data/request/emppaystructuredeductionsrequest.pyÚ__init__   s6   






ÿz/EmployeePaystructure_deductionsRequest.__init__c                 C   ó   | j S ©N)r   ©r   r   r   r   Úget_id*   ó   z-EmployeePaystructure_deductionsRequest.get_idc                 C   r   r   )r   r   r   r   r   Úget_type-   r   z/EmployeePaystructure_deductionsRequest.get_typec                 C   r   r   )r   r   r   r   r   Úget_from_date0   r   z4EmployeePaystructure_deductionsRequest.get_from_datec                 C   r   r   )r   r   r   r   r   Úget_to_date3   r   z2EmployeePaystructure_deductionsRequest.get_to_datec                 C   r   r   )r   r   r   r   r   Úget_employee_id6   r   z6EmployeePaystructure_deductionsRequest.get_employee_idc                 C   r   r   )r   r   r   r   r   Úget_paycomponent_id9   r   z:EmployeePaystructure_deductionsRequest.get_paycomponent_idc                 C   r   r   )r	   r   r   r   r   Ú
get_amount<   r   z1EmployeePaystructure_deductionsRequest.get_amountc                 C   r   r   )r
   r   r   r   r   Úget_deduction_id?   r   z7EmployeePaystructure_deductionsRequest.get_deduction_idc                 C   r   r   )r   r   r   r   r   Úget_is_customdeductB   r   z:EmployeePaystructure_deductionsRequest.get_is_customdeductc                 C   r   r   )r   r   r   r   r   Úget_paycomponentE   r   z7EmployeePaystructure_deductionsRequest.get_paycomponent)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r      s,    r   N)r   r   r   r   r   Ú<module>   s    