- New models: WarrantyModel, WalletModel, SystemConfigModel - New schemas: WarrantySchema, RefundSchema, SystemConfig, CrmTaskCalendar, NotificationTemplate, NotificationGateway, RepairErp, ReviewModeration, InventoryPos, MultiDashboard, BillingFinance - New services: WarrantyService, RefundService, CrmService, CrmTaskCalendarService, DeliveryService, EmailTemplateService, InventoryPosService, MultiDashboardService, NotificationGatewayService, RepairErpService, ReviewModerationService, SystemConfigService, TemplateService, CreditService - Updated routers: AdminOrder, BillingFinance, Cart, Catalog, Checkout, Crm, InventoryPos, NotificationGateway, RolePermission, ServiceJob, Settings, Storefront, UserCreation - Updated models: Inventory, Notification, Order, Product, Service, Setting, SystemConfig, User - Updated core: database init, invoice generator, main app - Added WarrantyRouter with full CRUD and claim flow
58 lines
3.6 KiB
Python
58 lines
3.6 KiB
Python
# Import all models here for Alembic auto-discovery
|
|
from app.core.database.db_session import Base
|
|
from app.models.DepartmentModel import Department
|
|
from app.models.DesignationModel import Designation
|
|
from app.models.RoleModel import Role
|
|
from app.models.PermissionModel import Permission
|
|
from app.models.UserModel import User
|
|
from app.models.UserSessionModel import UserSession
|
|
from app.models.AuditLogModel import AuditLog
|
|
from app.models.GeoModel import Country, State, City
|
|
from app.models.SettingModel import Setting
|
|
from app.models.FileUploadModel import FileUpload
|
|
from app.models.BrandModel import Brand
|
|
from app.models.BrandDeviceTypeModel import BrandDeviceType
|
|
from app.models.CategoryModel import Category
|
|
from app.models.TagModel import Tag
|
|
from app.models.CollectionModel import Collection
|
|
from app.models.ProductModel import AttributeType, Product, ProductImage, ProductVariant, VariantAttribute, VariantImage
|
|
from app.models.DeviceCatalogModel import DeviceSeries, DeviceModel, ServiceType, RepairService, RepairVariant, RepairVariantImage
|
|
from app.models.PartsModel import Part, PartDeviceCompatibility, RepairVariantPart
|
|
from app.models.StockMovementModel import StockMovement
|
|
from app.models.PurchaseOrderModel import PurchaseOrder, PurchaseOrderItem
|
|
from app.models.ContactModel import Contact, ContactAddress
|
|
from app.models.SeoMetadataModel import SeoMetadata
|
|
from app.models.StorefrontContentModel import StorefrontContent, ContentStatusEnum
|
|
from app.models.ProductReviewModel import ProductReview, ProductReviewImage
|
|
from app.models.MigrationModel import MigrationBatch, MappingConfig, MediaGroup, MediaAsset, MigrationJob, MigrationError, MigrationSnapshot, MigrationJobCheckpoint, MigrationMediaItem
|
|
from app.models.EcomCustomerModel import EcomCustomer, CustomerAddress, CustomerRefreshToken
|
|
from app.models.CartModel import Cart
|
|
from app.models.OrderModel import Order, OrderItem
|
|
from app.models.InvoiceModel import Invoice
|
|
from app.models.PaymentLedgerModel import PaymentLedger
|
|
from app.models.WebhookReceiptModel import WebhookReceipt
|
|
from app.models.InventoryLedgerModel import InventoryLedger
|
|
from app.models.OutboxEventModel import OutboxEvent
|
|
|
|
# Service Engine Models
|
|
from app.models.CustomerDeviceModel import CustomerDevice
|
|
from app.models.ServiceModel import ServiceCatalog, ServiceJob, ServiceAppointment, ServiceJobAssignment, ServiceJobIntake, ServiceJobInspection, ServiceJobMedia, ServiceJobEvent
|
|
from app.models.TechnicianModel import TechnicianProfile, TechnicianSkill, TechnicianWorkingHours, TechnicianLeave
|
|
from app.models.ServiceQuoteModel import ServiceJobQuote
|
|
from app.models.ServicePaymentModel import ServicePayment
|
|
from app.models.POSTerminalModel import POSTerminal, POSTransactionLog
|
|
from app.models.CrmModel import CrmCustomer, CrmContact, CrmLead, CrmDeal
|
|
from app.models.RepairErpModel import CrmCustomerDevice, CrmRepairTicket
|
|
from app.models.WarrantyModel import Warranty
|
|
from app.models.SystemConfigModel import CrmLocation, DeviceTypeRegistry, UserLocationMapping
|
|
from app.models.InventoryPosModel import CrmWarehouse, CrmSupplier, CrmInventoryStock, CrmPosSession, PosTerminal, PosSessionExtension
|
|
from app.models.RefundModel import RefundRequest, RefundMedia
|
|
from app.models.BillingFinanceModel import CrmBulkQuotation, CrmBulkQuotationItem, CrmGstInvoice, CrmInvoiceItem
|
|
from app.models.NotificationModel import Notification, NotificationAttempt, DeadLetterNotification, WhatsAppSession
|
|
from app.models.NotificationTemplateModel import NotificationTemplate
|
|
from app.models.ReviewModel import CustomerReview
|
|
from app.models.WarrantyModel import Warranty
|
|
from app.models.WalletModel import CustomerWallet, WalletTransaction
|
|
|
|
|
|
|