xxxxxxxxxx
@startuml
actor User
participant "Property Management System" as PMS
participant Database
participant "External Payment Gateway" as PaymentGateway
User -> PMS: Login
activate PMS
PMS -> Database: Authenticate User
activate Database
Database --> PMS: User Authenticated
deactivate Database
PMS --> User: Login Successful
User -> PMS: View Properties
activate PMS
PMS -> Database: Retrieve Properties
activate Database
Database --> PMS: Properties Data
deactivate Database
PMS --> User: Display Properties
User -> PMS: Reserve Property
activate PMS
PMS -> Database: Check Availability
activate Database
Database --> PMS: Availability Status
deactivate Database
alt Property available
PMS -> Database: Reserve Property
activate Database
Database --> PMS: Reservation Successful
deactivate Database
PMS -> PaymentGateway: Process Payment
activate PaymentGateway
PaymentGateway --> PMS: Payment Success
deactivate PaymentGateway
PMS --> User: Reservation Confirmed
else Property not available
PMS --> User: Property not available
end
User -> PMS: Logout
PMS -> Database: Update User Session
activate Database
Database --> PMS: Session Updated
deactivate Database
PMS --> User: Logout Successful
deactivate PMS
@enduml
xxxxxxxxxx
@startuml
Class01 <|-- Class02
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 -- Class10
@enduml
xxxxxxxxxx
@startuml
abstract abstract
abstract class "absgfgw"
annotation annotation
circle circle
() circle_short_form
class class
diamond diamond
<> diamond_short_form
entity entity
enum enum
interface interface
protocol protocol
struct struct
@enduml
xxxxxxxxxx
@startuml
(First usecase)
(Another usecase) as (UC2)
usecase UC3
usecase (Last\nusecase) as UC4
@enduml
xxxxxxxxxx
class Invitation {
- idInvitation: int
- emetteur: Utilisateur
- destinataire: Utilisateur
- dateEnvoi: Date
- statut: string
+ envoyerInvitation(): void
+ accepterInvitation(): void
+ refuserInvitation(): void
}
xxxxxxxxxx
const dataSet = {
name: ""
};
const objectValue = object.valueOf();
console.log(objectValue);
// name: ""
xxxxxxxxxx
@startuml
participant Participant [
=Title
----
""SubTitle""
]
participant Bob
Participant -> Bob
@enduml