采用B-C-E模式分析方法进行静态设计
2023-11-22 10:57:08 0 举报
BCE
作者其他创作
大纲/内容
订单页面
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
orderltem
-itemlD:lnteger-count:lnteger-subtotal:double-product:Product-order:Order
+getltemld():Integer+setltemld(Integer itemld):void....
User
-uid: lnteger-userna me:String-password:string-name:String-email:String-phone:String-address:String-state:Integer-code:String
+getUid():Integer+setUid(Integer uid):void....
餐品详情页面
评价页面
首页
Product
-pid:Integer-pname:String-beforeCountPrice:double-afterCountPrice:double-image:String-pdesc:String-is_hot:String-pdate:Date-csid:lnteger-categorySecond:CategorSecond
+getPid(): Integer+setU id(Integer pid):void....
Order
-oid: lnteger-total:double-ordertime:Date-state:Integer-nameString-addres s:String-phone:string-user:User
+getU id():Integer+setUid(Integer uid):void....
ProductController
-request:HttpservletRequest-productService:ProductService
订单支付页面
CommentController
-request:HttpservletRequest-commentService:OrderService
+saveC omment( int uid):String+removeCommen t( ):String+showComme nt( int uid ):String
登录页面
categ ory
-cid:Integer-cname:String
+getcid():lnteger+setCid(Integer cid):void....
送餐进度页面
餐品展示页面
ProgressController
-request:HttpservletRequest-progressService:OrderSe rvice
lndexController
-category:Categoryservice-requset:H ttpServletRequest-productService:Productservice
+tolndex():String+toRegistPage:String+toLoginPage:String
orderContr oller
-request:HttpservletRequest-orderse rvice:Orderservice
+toOrder():String+removeorder( int pid ):string+updateOrderState (int oid):String+removeorder( int pid ):string+updateOrderState (int oid):String+removeorder( int pid ):string+updateOrderState (int oid):String
UserController
-user: User-request:HttpServletRequest-userService:UserService-request:HttpServletRequest-userService:UserService
+checkUserName():void+regist(User user):String+userActive(String code):string+login(User user):String+toexit():String+findPassword():string
0 条评论
下一页