feat:get list in register status

This commit is contained in:
shahzeydyfah
2024-06-20 16:22:33 +03:30
parent 45754b82dd
commit b8d228020b
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -24,6 +24,11 @@ def create(coding: ThisModel = Body(...)):
@shrink(repo.get_last)
def get_last(project_id: UUID):
pass
@router.get('/list/{project_id}', response_model=list[ThisModel], tags=_tag_base, description='صورت وضعیت در قسمت رسیدگی')
@shrink(repo.get_list)
def get_list(project_id: UUID):
pass
@router.put('/{_id}', response_model=ThisModel, tags=_tag_base, description='صورت وضعیت در قسمت رسیدگی')
@shrink(repo.update)
def update(_id: UUID, coding: ThisModel = Body(...)):