系统类图
2015-06-28 10:03:10 148 举报
系统类图是一种用于描述系统的结构和关系的图形表示方法。它通常由一组相互关联的类组成,每个类都有其特定的属性和方法。这些类之间可以通过继承、关联、聚合和依赖等关系相互连接。在系统类图中,箭头表示类之间的关系,如继承关系用实线箭头表示,关联关系用虚线箭头表示。此外,系统类图还可以显示类的属性和方法,以及它们之间的交互方式。总之,系统类图是一种直观且易于理解的工具,可以帮助开发人员更好地理解和设计复杂的软件系统。
作者其他创作
大纲/内容
MovieInfo
-m_mId:int-m_mName:string-m_mInfo:string-m_mLastTime:int-m_mPrice:double
+getMovieId():return int+getMovieName():return string+setMovieName(string)+getMovieInfo():return string+setMovieinfo(string)+getMovieLastTime():return int+setMovieLastTime(int)+getMoviePrice():renturn double+setMoviePrive(double)
1.*
ManagerIUsrManageService
-m_usrDao:UserDao*
+manaGetAllUsersut():return vector+manaModigyUserInfo(int):return bool
MovieInfoDao
UserInfoService
-m_usrDao:UserDao*-m_ticketDao:TicketDao*
+usrModifyInfo():return bool+usrCheckTickets():return vector
ManagerMovieManageService
-m_movieInfoDao:MovieInfo*-m_scheDao:ScheduleDao*
+manaUpLoadMovie(MovieInfo*):return bool+manaModifyMovieInfo(int):return bool+manaDownMovie(int):return bool
ManagerDao
ManagerTicketsManageService
+manaGetAllTickets():return vector
ManagerBaseService
-m_manaDao:ManagerDao*
+manaLogin():return bool+manaLogOut():return bool
0.*
UserDao
UesrMovieService
-m_usrDao:UserDao*-m_ticketDao:TicketDao*-m_scheDao:ScheduleDao*
+usrBookTicket(Schedule*):return bool+usrPayTicket(Shedule*):return bool+usrGetMovieInfo(int):return MovieInfo*+usrGetAllMovieInfo():return vector
Manager
m_manaName:stringm_manaPassword:stringm_manaId:int
+getManaName():return string+gerManaPassword:return string+getManaId:return int+setManaName(string)+setManaPassword(string)
1
User
-m_usrName:string-m_usrPassword:string-m_usrOtherInfo:string-m_usrId:int
+getUsrName():return string+getUsrId():return int+getUsrPassword():return string+getUsrOtherInfo():renturn string+setUsrName(string)+setUsrPassword(string)+setUsrOtherInfo(string):
ScheduleDao
UserBaseService
+usrrRegis():return bool+usrLogin():return bool+usrLogout():return bool
Schedule
-m_pMovieInfo:MovieInfo*-m_Time:Time-m_sumWatcher:int-m_curWatcher:int
+getMovieInfo():return MovieInfo+setMovieInfo(MovieInfo*)+getTime():return Time+setTime(TIme)+getSumWatcher():int+setSumWatcher(int)+getCurWatcher():int+setCurWatcher():int
TicketDao
Ticket
-m_pUser:User*-m_pSchedule:Schedule*
+getUser():return User*+getSchedule:return Schedule*+setUser(User*)+setSchedule(Schedule*)
0 条评论
下一页