o
    UhO                     @   s   d dl 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mZ e Zejddd	ee
eefd
ededefddZdS )    )	APIRouterDepends)Session)PaymentCreat)service)get_db)JWTPayloadSchemaget_current_studentz/paymentT)response_model_exclude_nonerequestdbtokenc                    s   t ||| I d H S )N)r   PaymentServicecreate_payment)r   r   r    r   1/var/www/html/RetailAPI/app/api/payment/router.pycreate_store_formate
   s   r   N)fastapir   r   sqlalchemy.ormr   app.api.payment.schemasr   app.api.paymentr   app.database.main.mysqlr   app.dependency.authanticationr   r	   payment_routerpostr   r   r   r   r   <module>   s    *