Revised Class Diagram
2014-10-02 04:28:43 2 举报
由于您没有提供具体的类图,我无法为您生成精确的描述。然而,我可以为您提供一个通用的示例: 修订后的课程图显示了课程、教师和学生之间的关系。课程类包含课程名称、课程描述和课程时长等属性。每个课程有一个或多个教师,这些教师通过教师ID与课程关联。同样,每个课程也有一个或多个学生,这些学生通过学生ID与课程关联。此外,教师类包含教师姓名、教师ID和所教授的课程列表等属性。学生类包含学生姓名、学生ID和所选修的课程列表等属性。这个修订后的课程图提供了更清晰的视图,帮助我们理解课程、教师和学生之间的关系。
作者其他创作
大纲/内容
n
staff
+ ID:int+ UserName:string- Status:bool+ Department:string- Rank:string- salary:double- password:string
+ login()+ logout()+ check account information()
1
manager
+ ID:int+ UserName:string- Status:bool+ Rank:string+ Department:string- salary:double- Password:string
+ login()+ logout()+ check account information()- check department information()- allocate job()- change account information()- create account()- delete account()- generate payment()
account
+ IDnumber:int+ name:string- status:bool+ staff:bool+ group:string- salary:double* password:string
+ input IDnumber()+ check IDnumber():int+ check username():string+ check usersalary():double+ check usergroup():string+ check userstatu():bool- change IDnumber():int- change username():string- change usersalary():double- change usergroup():string- change userstatu():bool- create()- delete()- pay()
generate payment
+ computation formula:double = defaultValue
- check basesalary range()- check date()- change parameter()- computing salary()- generate()
administrator
+ ID:int+ UserName:string+ Department:string- Password:string
+ login()+ logout()+ check account information()- check department information()- change account information()- create account()- delete account()- generate payment()- add project()- allocate project()
0 条评论
下一页