基于微信小程序的幼儿园管理系统的设计与实现
2024-10-25 14:26:08 0 举报
功能模块图,er图,类图,时序图,用例图数据流图
作者其他创作
大纲/内容
Return Leave Records
缴费管理
管理员
公告
Display Kindergarten Management Page
Show Leave Management Page
1
*
Managed by
Course
+String id+String name+String description
+has(Teacher)+has(Classroom)
交流反馈
Display update status to User
家长沟通
Service
Request for leave approval
News Data
getFeePaymentDao()
ClassController
+ClassService classService
+handleClassRequests()
缴费
修改学生信息
Send fee payment information to Page
Call createAnnouncement()
1..*
enrolls in
Return Update Result
ParentsControler
relates
Get News Info
StudentManagementService
+void addStudent(Student student)+void updateStudent(Student student)+void deleteStudent(String id)+Student findStudentById(String id)+List findAllStudents()
Fetch Leave Data
0..*
creates
Request to access class group chat
删除班级信息
通知
is taught by
StudentController
N
发送信息
班级群聊
Controller
Call Function to Process Action
教师沟通
<<extend>>
ClassService
发送帖子
ParentsEntity
is a
用户:家长
Display News Info
Request to post a new announcement
M
Call getStudentService()
administratorService
StudentManagementController
+handleStudentAddition(Request)+handleStudentUpdate(Request)+handleStudentDeletion(Request)+handleStudentListRetrieval(Request)
家长
Announcement
-int id-string title-string content-User creator
+publish()
Request for class group chat data
ParentsController
修改班级信息
ClassEntity
+int classId+String className+List students
添加缴费信息
administratorPage
User
teaches
updatePaymentStatus(status)
Return success/failure status
Order
ParentsPage
查看公告
displayPaymentInfo()
uses
校园公告分类管理
学生管理
Forward user request
Return processed leave application info
Entity
<<include>>
Call updateFeePaymentDao()
邮件
Return Save Status
ClassDao
administratorEntity
Retrieve or Store Data
Return News Data
Access database to get user leave info
修改资讯新闻
Retrieve Student Data
Display Leave Records
ParentsService
Update user leave info in database
Select Leave Info
administratorDao
Call updateStudentInfo() with new data
添加公告信息
Confirm Update
<<abstract>>Entity
-id : int
ClassController extends Controller
-classService : ClassService
News
-int id-string title-string content-User editor
+post()+update()
Render News On Page
添加
Send update status to Page
接收
Display Student Information
查看信息
Display Updated Page
retrievePaymentData()
Student
+String id+String name+int age+String gender
StudentController extends Controller
-studentService : StudentService
Return Student Data
-int id-string username-string password
+login()+logout()
Class
+int id+string name+int teacherId+List students
Participant
+String id
+isA(Student)+attend(Activity)
账户管理
Has a
Order
ClassManagementService
+addClass(Class class)+editClass(Class class)+deleteClass(int classId)+getClassList()+getClassById(int classId)
打卡
修改缴费信息
+addStudent(Student)+updateStudent(Student)+deleteStudent(String)+listStudents()
添加公告分类
StudentDAO
-int id-string name-int age-string class
StudentService extends Service
-studentDao : StudentDao#Specific business logic for StudentEntity
Call function to retrieve class group chat data
Update Database
Display fee payment information to User
StudentEntity extends Entity
-name : string-age : int-class : ClassEntity
Return Save Result
<<interface>>Calculator
Call Function to Process Request
Call function to approve leave
paymentStatusUpdated()
Classroom
+String id+String name
+has(Student)
-int id-string name-List students
+addStudent(Student)+removeStudent(Student)
ParentsDao
User
Activity
+has(Teacher)+has(Participant)
paymentData
StudentService
-StudentDao studentDao
+getStudent(int) : StudentEntity+getStudents() : List+addStudent(StudentEntity)+editStudent(StudentEntity)+removeStudent(int)
添加资讯新闻
Request Update Student Information
Pass success/failure status
controls
用户
Request to view campus announcements
Confirm Modification
Retrieve data from database
递交管理批准
Send Processed Result
Return announcements data
Get Leave Records
请假申请审核
Save Leave Record
administratorController
has
StudentRepository
-List students
+void save(Student student)+void delete(Student student)+Student findById(String id)+List findAll()
Return approval status
修改请假信息
班级管理
ClassDao extends Dao
#Specific methods for ClassEntity
查看请假信息
是否同意
Display announcements
<<abstract>>Dao
+save(entity : Entity)+update(entity : Entity)+delete(id : int)+findById(id : int) : Entity
Forward request to Controler
Return Processed Result
Update fee payment data
幼儿园管理系统
+int id+string name+int classId
资讯新闻
Pass announcements list
Call updateStudentService() with new data
manages
Return Data
Returnpaymentdata()
Show Leave Management Interface
删除资讯新闻
删除公告信息
撤回请假信息
编辑个人信息
StudentDao
查看班级
Forward Request
Return Process Result
Forward request
Return class group chat data
administratorControler
删除学生信息
Display leave application status
查询请假信息
+ClassDao classDao
+getClasses() List+manageClass(ClassEntity classEntity)
StudentDao extends Dao
#Specific methods for StudentEntity
Show Save Result
Call getCampusAnnouncements()
查看请假申请
Select News From Database
留言
Display Save Status
Modify Data
Display Updated Student Information
Page
签到
Request to update fee payment information
班级
Call getStudentDao()
Call getStudentInfo()
edits
Forward class group chat data to service
Call function to process leave application
-String id-String name-int age
+void study()+void play()
Display class group chat data to user
资讯新闻管理
回话
Parent
+has(Student)+view(Student)
ClassService extends Service
-classDao : ClassDao#Specific business logic for ClassEntity
Forward News Data
Return announcements list
查询资讯新闻
生成
教师
Submit Leave Application
Retrieve announcements data
Forward class group chat data to page
Fetch News Data
Y
Teacher
+int id+string name+List classes
Return update status to Controler
Process Leave Application
Confirm fee payment data updated
Post
-int id-string title-string content-User author-Class relatedClass
+create()+delete()
ReturninformationControler()
查询公告信息
is taught in
paymentInfo
Call updateFeePaymentService()
编辑
ParentsUser
Save new announcement data
老师
修改公告分类
Return user leave info
+getClassById(int classId) ClassEntity+getAllClasses() List+addClass(ClassEntity classEntity)+updateClass(ClassEntity classEntity)+deleteClass(int classId)
requestPaymentInfo()
getFeePaymentService()
查询缴费信息
Retrievepaymentdata()
Call postAnnouncement()
请假申请
Return Student Info
StudentManagementMapper
+mapToStudent(DataRow)+mapToListOfStudents(DataSet)
校园公告分类
查询公告分类
attends
添加班级信息
Request Student Information
校园公告
Request News Info
Insert/Update Leave Info
Display success/failure message
<<abstract>>Service
+getAll() : List+getById(id : int) : Entity+create(entity : Entity)+update(entity : Entity)+delete(id : int)
查询班级信息
+teach(Course)+organize(Activity)
Display leave approval status
Forward request with announcement details
Requestinformation()
Retrieve Data
<<abstract>>Controller
+handleRequest()
-int id-string name-int age-User user
+study()+play()
Request for Kindergarten Management
Request Leave Management
Forward Action
statusUpdated
Call updateStudentDao() with new data
Call fetchAllAnnouncements()
Return class group chat data to controler
Confirm update
Return update status to Service
-StudentService studentService
-String List-String ById
+void List()+void play()
请假
Return Leave Data
删除缴费信息
修改公告信息
Uses
群组
添加学生信息
+enrollIn(Course)+attend(Activity)
StudentEntity
删除公告分类
+getStudentById(int) : StudentEntity+getAllStudents() : List+createStudent(StudentEntity)+updateStudent(StudentEntity)+deleteStudent(int)
ForwardrequesttControler()
Save Leave Application
查询学生信息
ClassEntity extends Entity
-name : string-students : List
Update Student Data
请假同意
查看
getPaymentInfo()
Return Result
Request for leave application
Access Database for Data
0 条评论
下一页