feature/app-selector
This commit is contained in:
@@ -88,6 +88,9 @@ class Class(Base, TenantScopedMixin, TimestampMixin):
|
||||
default=True, server_default="true", nullable=False
|
||||
) # Campo para habilitar/deshabilitar clases sin eliminarlas
|
||||
|
||||
# Sistema al que pertenece la clase: 'fixed_asset' (SCAF) o 'inventory' (SCAII)
|
||||
system: Mapped[str] = mapped_column(String(12), nullable=False, server_default="fixed_asset")
|
||||
|
||||
# Relationships
|
||||
material_type: Mapped[Optional["MaterialType"]] = relationship(
|
||||
foreign_keys=[material_key]
|
||||
|
||||
Reference in New Issue
Block a user