feat(backend): add FastAPI backend — procurement, inventory domain, Casdoor auth, PM arrival endpoints
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
"""ORM models — import order matters only for registration in Base.metadata."""
|
||||
from app.db.base import Base
|
||||
from app.models.catalog import (
|
||||
AttributeDefinition,
|
||||
Brand,
|
||||
BrandMaterial,
|
||||
CategoryAttribute,
|
||||
CategoryReferenceUnit,
|
||||
Material,
|
||||
MaterialAttributeValue,
|
||||
MaterialCategory,
|
||||
MaterialUnit,
|
||||
StandardConversion,
|
||||
Unit,
|
||||
UnitConversion,
|
||||
)
|
||||
from app.models.files import QuoteAttachment
|
||||
from app.models.procurement import (
|
||||
ItemDecision,
|
||||
ItemReceipt,
|
||||
ItemTermsheet,
|
||||
ItemTermsheetsWithTotal,
|
||||
LineItem,
|
||||
LineItemSpec,
|
||||
Project,
|
||||
Quote,
|
||||
QuoteEvent,
|
||||
QuoteProjects,
|
||||
Supplier,
|
||||
Termsheet,
|
||||
TermsheetScheduleStep,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"Base",
|
||||
"Unit",
|
||||
"Brand",
|
||||
"MaterialCategory",
|
||||
"AttributeDefinition",
|
||||
"CategoryAttribute",
|
||||
"Material",
|
||||
"BrandMaterial",
|
||||
"MaterialUnit",
|
||||
"MaterialAttributeValue",
|
||||
"CategoryReferenceUnit",
|
||||
"UnitConversion",
|
||||
"StandardConversion",
|
||||
"Supplier",
|
||||
"Project",
|
||||
"Quote",
|
||||
"QuoteEvent",
|
||||
"QuoteProjects",
|
||||
"LineItem",
|
||||
"LineItemSpec",
|
||||
"Termsheet",
|
||||
"TermsheetScheduleStep",
|
||||
"ItemTermsheet",
|
||||
"ItemTermsheetsWithTotal",
|
||||
"ItemDecision",
|
||||
"ItemReceipt",
|
||||
"QuoteAttachment",
|
||||
]
|
||||
Reference in New Issue
Block a user