Merge pull request 'Update depreciation_date field type in models and schemas' (#210) from hot-fix/depreciacion_date into development

Reviewed-on: ADUANASOFT/anexo76#210
This commit is contained in:
2026-03-13 18:33:16 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -176,7 +176,7 @@ class LineItem(Base, TenantScopedMixin, TimestampMixin):
) # NUMEROGUIA/NUMERODEGUIA
# Dates
depreciation_date: Mapped[Optional[int]] = mapped_column(
depreciation_date: Mapped[Optional[datetime]] = mapped_column(
Integer
) # FECHADEPRECIACION

View File

@@ -203,7 +203,7 @@ class LineItemBase(BaseModel):
guide_number: Optional[str] = Field(None, max_length=50, description="Guide number")
# Dates
depreciation_date: Optional[int] = Field(None, description="Depreciation date")
depreciation_date: Optional[datetime] = Field(None, description="Depreciation date")
# Administrative fields
rectification: Optional[int] = Field(None, description="Rectification")

View File

@@ -192,7 +192,7 @@ export interface Item {
reference_number?: string;
order?: string;
guide_number?: string;
depreciation_date?: number;
depreciation_date?: string;
rectification?: number;
warehouse?: string;
location?: string;