类图
2024-08-20 17:04:11 0 举报
类图
作者其他创作
大纲/内容
Register
Equipment
- equipmentName: String- quantity: int- status: String
+ setEquipmentName()+ setQuantity()+ setStatus()+ getEquipmentName()+ getQuantity()+ getStatus()
Admin
-adminId: string -adminUsername: string
+ setUserId(u: String)+ setUsername()+ setPassword()+ getUserId()+ getUsername()+ getPassword()
User
-username: string -password: string -userId: string
+setUserId(u) +setUsername() +setPassword() +getUserId(): string +getUsername() +getPassword()
Login
1..*
Booking
- bookingPerson: String- bookingTime: String- facilityOrEquipment: String
+ createBooking()+ cancelBooking()
EquipmentRental
- rentalPerson: String- rentalTime: String- returnTime: String- equipment: String
+ createRental()+ returnEquipment()
Facility
- facilityName: String- availableTime: String- status: String
+ setFacilityName()+ setAvailableTime()+ setStatus()+ getFacilityName()+ getAvailableTime()+ getStatus()
0 条评论
下一页