类图
2015-12-09 18:11:51 1 举报
类图是一种用于描述系统结构和关系的静态图形表示方法。它展示了系统中的类、接口、关联关系、继承关系等元素,并以一种直观的方式呈现了它们之间的交互和依赖关系。类图中的每个类都用一个矩形表示,矩形内部包含了类的名称和属性列表。类之间的关联关系用箭头表示,箭头的方向表示了关联的方向。继承关系用空心三角形表示,箭头指向父类。接口则用圆形表示,接口名称位于圆形内部。通过类图,我们可以清晰地了解系统的组成部分以及它们之间的关系,有助于进行系统的设计和实现。
作者其他创作
大纲/内容
interface
+ getOrderId( )+ getOrderMTotal( )
login-in success
Theme类
- ThemeId:Int- ThemeTitle:String- ThemeContent:String- ThemeDate:String- ThemePicFileName:String
+ ThemeMana( )+ ThemeDel( )+ ThemeDetail( )+ ThemeDetailQian( )
+ getRevId( )+ getRevDate( )
only editor in BackService
Order类
- orderId:Int- orderContent:String- orderMTotal:String
+ orderMana( )+ orderAdd( )+ orderAll( )+ orderDel( )+ orderDetailHou( )+ orderDetailQian( )
+ getTakeOutId( )+ getTakeOutDate( )+ getTakeOutTel( )
Tally类
- TallyId:Int- TallyNumber:String
+ TallyMana( )+ TallyDel( )+ TallyDetail( )+ TallyDetailQian( )
+ getTallyDetail( )
History类
+ orderHisMana( ):orderMana( )+ orderHisDetail( ):orderDetailQian( )+ RevHisMana( ):RevMana( )+ RevHisDetail( ):RevDetailQian( )+ TakeOutHisMana( ):TakeOutMana( )+ TakeOutHisDetail( ):TakeOutDetailQian( )
Coupon类
- CouponId:Int- CouponName:String- CouponTotal:String- CouponState:Boolen
+ CouponMana( )+ CouponDel( )+ CouponDetail( )+ CouponDetailQian( )
Reservation类
- RevId:Int- RevSeats:String- RevDate:String- RevMembers:String
+ RevMana( )+ RevAdd( )+ RevDel( )+ RevAll( )+ RevDetailHou( )+ RevDetailQian( )
+ getCouponId( )+ getCouponName( )+ getCouponState( )
User类
# userId:Int- userName:String - userPw:String- userRealname:String- userTel:String
+ userLogin( ): String+ userLogout( )+ userDel( )+ userEditor( )+ userReg( )
+ getUserId( )+ getUserName( )
interface
+ pushCommnets( ):void+ editorComments( )
Profiles类
- gonggaoId:Int- gonggaoTitle:String- gonggaoContent:String- gonggaoDate:String- gonggaoPicFileName:String
+ gonggaoMana( )+ gonggaoDel( )+ gonggaoDetail( )+ gonggaoDetailQian( )
Comments类
- CommentsId:Int- CommentsTitle:String- CommentsContent:String- CommentsDate:String- CommentsPicFileName:String
+ CommentsMana( )+ CommentsDel( )+ CommentsDetail( )+ CommentsDetailQian( )
TakeOut类
- TakeOutId:Int- TakeOutContent:String- TakeOutAddress:String- TakeOutDate:String- TakeOutTel:String
+ TakeOutMana( )+ TakeOutAdd( )+ TakeOutDel( )+ TakeOutAll( )+ TakeOutDetailHou( )+ TakeOutDetailQian( )
0 条评论
回复 删除
下一页