2026-07-19 21:12:49 +02:00
|
|
|
"""Backward-compat shim — Company is now Contact with type='company'.
|
2026-06-29 00:10:10 +02:00
|
|
|
|
2026-07-19 21:12:49 +02:00
|
|
|
This module re-exports Contact as Company for code that still imports
|
|
|
|
|
from app.models.company. The old companies table no longer exists;
|
|
|
|
|
all company data lives in the contacts table with type='company'.
|
|
|
|
|
"""
|
2026-06-29 00:10:10 +02:00
|
|
|
|
2026-07-19 21:12:49 +02:00
|
|
|
from app.models.contact import Contact, ContactPerson
|
2026-06-29 00:10:10 +02:00
|
|
|
|
2026-07-19 21:12:49 +02:00
|
|
|
# Backward-compat: Company is now just a Contact with type='company'
|
|
|
|
|
Company = Contact
|
2026-06-29 00:10:10 +02:00
|
|
|
|
2026-07-19 21:12:49 +02:00
|
|
|
__all__ = ["Company", "ContactPerson"]
|