feat(property): add 23-table property module with partitioned follow_logs and property_photos

This commit is contained in:
2026-04-29 17:27:15 +08:00
parent c57462f6d1
commit 5b55dda367
8 changed files with 1707 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
from apps.property.models.core import (
Property,
PropertyCertificate,
PropertyCompleteness,
PropertyContact,
PropertyMarketing,
PropertyProtection,
)
from apps.property.models.follow_keys import (
FollowLog,
FollowLogAttachment,
FollowLogRecording,
KeyAttachment,
PropertyKey,
)
from apps.property.models.listings import (
Commission,
CommissionAttachment,
ListingHistory,
NumberHolderApproval,
PriceChange,
)
from apps.property.models.media import (
FieldSurvey,
PropertyAttachment,
PropertyFavorite,
PropertyPhoto,
PropertyTag,
PropertyTagRelation,
SurveyPhoto,
)
__all__ = [
"Commission",
"CommissionAttachment",
"FieldSurvey",
"FollowLog",
"FollowLogAttachment",
"FollowLogRecording",
"KeyAttachment",
"ListingHistory",
"NumberHolderApproval",
"PriceChange",
"Property",
"PropertyAttachment",
"PropertyCertificate",
"PropertyCompleteness",
"PropertyContact",
"PropertyFavorite",
"PropertyKey",
"PropertyMarketing",
"PropertyPhoto",
"PropertyProtection",
"PropertyTag",
"PropertyTagRelation",
"SurveyPhoto",
]