feat: add article_ref field to MouvementStockResponse

This commit is contained in:
Fanilo-Nantenaina 2025-12-17 16:22:43 +03:00
parent 62e347969c
commit 388618603b

1
api.py
View file

@ -1041,6 +1041,7 @@ class SortieStockRequest(BaseModel):
class MouvementStockResponse(BaseModel): class MouvementStockResponse(BaseModel):
"""Réponse pour un mouvement de stock""" """Réponse pour un mouvement de stock"""
article_ref: str = Field(..., description="Numéro d'article")
numero: str = Field(..., description="Numéro du mouvement") numero: str = Field(..., description="Numéro du mouvement")
type: int = Field(..., description="Type (0=Entrée, 1=Sortie)") type: int = Field(..., description="Type (0=Entrée, 1=Sortie)")
type_libelle: str = Field(..., description="Libellé du type") type_libelle: str = Field(..., description="Libellé du type")