24 lines
1.0 KiB
Python
24 lines
1.0 KiB
Python
"""All ORM models (import them so Base.metadata is complete)."""
|
|
|
|
from .rbac import ( # noqa: F401
|
|
Announcement, Attachment, Menu, Notification, OperationLog,
|
|
Permission, RefreshToken, Role, RolePermission, User, UserRole,
|
|
)
|
|
from .org import Department, DictItem, DictType, JobLevel, Position # noqa: F401
|
|
from .employee import ( # noqa: F401
|
|
Employee, EmployeeCertificate, EmployeeChange, EmployeeContract,
|
|
EmployeeDocument, EmployeeEducation, EmployeeFamily, EmployeeSalaryAdjustment,
|
|
EmployeeWorkHistory,
|
|
)
|
|
from .recruitment import Application, Candidate, Interview, JobPosting, Offer # noqa: F401
|
|
from .payroll import ( # noqa: F401
|
|
EmployeeSalary, Payslip, PayrollBatch, PayrollPeriod, SalaryItem, SalaryPlan,
|
|
)
|
|
from .benefits import ( # noqa: F401
|
|
BenefitItem, BenefitRecord, Enrollment, InsurancePlan, LeaveBalance,
|
|
LeaveRequest, LeaveType,
|
|
)
|
|
from .selfservice import ApprovalLog, ProfileRequest, TaskReminder # noqa: F401
|
|
|
|
__all__ = [n for n in dir() if not n.startswith("_")]
|