Phase 1 scaffolding: config/, core/, base models, AES-256-GCM phone encryption, enums mirror apps.tenant: Tenant + Domain (django-tenants) apps.org: 11 models (OrgUnit hierarchy, Staff, audit logs) apps.account: 4 models (UserAccount as AUTH_USER_MODEL, login/password tracking) apps.permission: 7 models (RBAC + overrides + datascope + append-only changelog) apps.region: 5 models (District, BusinessArea, MetroLine, MetroStation, School) All migrations generated, manage.py check passes
27 lines
565 B
Python
27 lines
565 B
Python
from apps.org.models.org_unit import OrgUnit
|
|
from apps.org.models.staff import Staff, StaffPersonalInfo
|
|
from apps.org.models.staff_logs import (
|
|
StaffAccount,
|
|
StaffEducation,
|
|
StaffFamilyMember,
|
|
StaffRemark,
|
|
StaffRewardPunish,
|
|
StaffTraining,
|
|
StaffTransferLog,
|
|
StaffWorkExperience,
|
|
)
|
|
|
|
__all__ = [
|
|
"OrgUnit",
|
|
"Staff",
|
|
"StaffPersonalInfo",
|
|
"StaffAccount",
|
|
"StaffEducation",
|
|
"StaffFamilyMember",
|
|
"StaffRemark",
|
|
"StaffRewardPunish",
|
|
"StaffTraining",
|
|
"StaffTransferLog",
|
|
"StaffWorkExperience",
|
|
]
|