o
    Uh                     @   s   d dl mZmZ d dlmZ d dlmZ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ejdeddeeeefdededefddZdS )    )	APIRouterDepends)Session)TradingMonthCreateTradingMonthResponce)TradingMonthService)get_db)JWTPayloadSchemaget_current_studentz/tradingT)response_model_exclude_nonerequestdbtokenc                       t ||| I d H S N)r   create_trading_month)r   r   r    r   7/var/www/html/RetailAPI/app/api/trading_month/router.pycreate_civil_entry
      r   z/trading-responce/{group_id})response_modelr   group_idc                    r   r   )r   get_trading)r   r   r   r   r   r   get_segment   r   r   N)fastapir   r   sqlalchemy.ormr   app.api.trading_month.schemasr   r   app.api.trading_month.servicer   app.database.main.mysqlr   app.dependency.authanticationr	   r
   trading_month_routerpostr   getintr   r   r   r   r   <module>   s    &*