-
Notifications
You must be signed in to change notification settings - Fork 0
/
reinsurance.cto
49 lines (43 loc) · 852 Bytes
/
reinsurance.cto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* Sample business network definition.
*/
namespace reinsurance.claims
participant Reassureur identified by id {
o String id
o String name
o Double solde
}
participant Cedante identified by id {
o String id
o String name
o Double solde
}
assest Contrat identified by id{
o String id
o String branche
o String nature
o String exercise
--> Reassureur reassureur
--> Cedante cedante
}
assest AvisSinistre identified by id {
o String id
o Srting namespace
o Double montant
o Boolean sent
o String information
}
transaction DeclarerSinistre {
--> Reassureur reassureur
--> Cedante cedant
--> AviSinistre aviSinistre
}
transaction SouscrireContrat {
--> Reassureur reassureur
--> Contrat contrat
}
event DeclarationSinistreEvent {
--> AviSinistre aviSinistre
o Double soldeReassureurInitial
o Double soldeREassueurFinal
}