Files
site/apps/api/app/db/models.py
T

81 lines
2.1 KiB
Python

from app.modules.auth.models import EmailVerificationToken, PasswordResetToken, RefreshToken
from app.modules.content.models import ContentPage
from app.modules.sync.models import (
Enterprise,
EnterpriseMember,
FarmHub,
HubCredential,
HubPairingSession,
ReportSyncState,
SyncAppliedEvent,
SyncConflict,
SyncCursor,
SyncEventLog,
SyncOutbox,
SyncReconcileRun,
SyncRecordState,
UserFarmAccess,
)
from app.modules.users.models import User, UserProfile
from app.modules.zootech.settings_models import ZootechFeedQualitySettings, ZootechOrgSettings
from app.modules.zootech.catalog_models import (
ZootechDailyComponentNormAdjustment,
ZootechDailyIngredientReplacement,
ZootechDailyIngredientSkip,
ZootechDailyTripSkip,
ZootechDailyUnloadingGroupSkip,
ZootechFeedDispenser,
ZootechFeedingLocation,
ZootechFeedingPeriod,
ZootechFeedingPoint,
ZootechFeedMixer,
ZootechPeriodRecipe,
ZootechTrip,
ZootechUnloadingGroup,
)
from app.modules.zootech.report_models import ZootechFeedAlert, ZootechLoadingReport, ZootechUnloadingReport
__all__ = [
"User",
"UserProfile",
"RefreshToken",
"PasswordResetToken",
"EmailVerificationToken",
"ContentPage",
"Enterprise",
"EnterpriseMember",
"FarmHub",
"UserFarmAccess",
"HubCredential",
"HubPairingSession",
"SyncOutbox",
"SyncEventLog",
"SyncAppliedEvent",
"SyncCursor",
"SyncRecordState",
"SyncConflict",
"SyncReconcileRun",
"ReportSyncState",
"ZootechComponent",
"ZootechRecipe",
"ZootechIngredient",
"ZootechUnloadingGroup",
"ZootechFeedMixer",
"ZootechFeedDispenser",
"ZootechFeedingLocation",
"ZootechFeedingPeriod",
"ZootechFeedingPoint",
"ZootechPeriodRecipe",
"ZootechTrip",
"ZootechDailyTripSkip",
"ZootechDailyIngredientSkip",
"ZootechDailyUnloadingGroupSkip",
"ZootechDailyIngredientReplacement",
"ZootechDailyComponentNormAdjustment",
"ZootechLoadingReport",
"ZootechUnloadingReport",
"ZootechFeedAlert",
"ZootechOrgSettings",
"ZootechFeedQualitySettings",
]