11 lines
337 B
Python
11 lines
337 B
Python
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
db = SQLAlchemy()
|
|
|
|
# 导入所有模型
|
|
from app.models.user import User
|
|
from app.models.student import Student
|
|
from app.models.attendance import WeeklyAttendance, DailyAttendanceDetail, LeaveRecord
|
|
|
|
__all__ = ['db', 'User', 'Student', 'WeeklyAttendance', 'DailyAttendanceDetail', 'LeaveRecord']
|