滴滴打车设计类图
2023-05-13 16:02:47 0 举报
为你推荐
查看更多
滴滴打车设计类图
作者其他创作
大纲/内容
1
0...*
BookCar
- customerId:Integer+ bookcarTime:Date- locationId:Integer
+ getCustomerId:Integer+ setCustomerId(customerId:Integer):void+ getLocationId:Integer+ setLocationId(locationId:Integer):void
Customer
- customerId:Integer- customerPwd:String- customerName:String- customerPhone:String- customerLocation:String
+ getCustomerId:Integer+ setCustomerId(customerId:Integer):void+ getCustomerPwd:String+ setCustomerPwd(customerPwd:String):void+ getCustomerName:String+ setCustomerName(customerName:String):void+ getCustomerLocation:String+ setCustomerLocation(customerLocation:String):void
Car
- carId:String- carType:String- carColor:String- driverId:Integer
+ getCarId:String+ setCarId(carId:String):void+ getCarType:String+ setCarType(carType:String):void+ getCarColor:String+ setCarColor(carColor:String):void+ getDriverId:Integer+ setDriverCarid(driverCarid:Integer):void
Pay
- orderId:Integer- customerId:Integer+ fare:Integer+ paymentMethod:String
+ getOrderId:Integer+ setOrderId(customerId:Integer):void+ getCustomerId:Integer+ setCustomerId(customerId:Integer):void
Order
- orderId:Integer- customerId:Integer- driverId:Integer+ orderTime:Date- locationId:Integer
+ getOrderId:Integer+ setOrderId(customerId:Integer):void+ getCustomerId:Integer+ setCustomerId(customerId:Integer):void+ getDriverId:Integer+ setDriverId(driverId:Integer):void+ getLocationId:Integer+ setLocationId(locationId:Integer):void
Location
- locationId:Integer- startLocation:String- endLocation:String
+ getLocationId:Integer+ setLocationId(locationId:Integer):void+ getStartLocation:String+ setStartLocation(startLocation:String):void+ getEndLocation:String+ setEndLocation(endLocation:String):void
Evaluation
+ evaluationId:Integer+ orderId:Integer+ evaluationTime:Date+ content:String
Driver
- driverId:Integer- driverPwd:String- driverName:String- driverPhone:String- driverLocation:String- carId:String
+ getDriverId:Integer+ setDriverId(driverId:Integer):void+ getDriverPwd:String+ setDriverPwd(driverPwd:String):void+ getDriverName:String+ setDriverName(driverName:String):void+ getDriverLocation:String+ setDriverLocation(driverLocation:String):void+ getCarId:String+ setCarId(carId:String):void
Route
+ customerLocation:String+ driverLocation:String
0 条评论
回复 删除
下一页