apiv2
This commit is contained in:
8
schemas/importadorSchema.py
Normal file
8
schemas/importadorSchema.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pydantic import BaseModel, Field
|
||||
from typing import Optional
|
||||
from uuid import UUID
|
||||
|
||||
class ImportadorBaseSchema(BaseModel):
|
||||
rfc: str = Field(..., description="RFC del importador")
|
||||
nombre: Optional[str] = Field(None, description="Nombre del importador")
|
||||
organizacion: UUID = Field(..., description="ID de la organización asociada")
|
||||
Reference in New Issue
Block a user