-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesignature.jdl
78 lines (78 loc) · 1.8 KB
/
esignature.jdl
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
entity Document {
title String required
description String
createDate Instant
createBy String
updateDate Instant
updateBy String
}
entity DocumentParticipant {
isOwner Boolean
}
entity SignatureBlock {
styling TextBlob
pubKey String required
pubKeyFingerprint String required
}
entity SentinelBlock {
blockType String
placeholder String
}
entity TextBlock {
textType String
body String
styling TextBlob
}
entity ContentField {
contentType String
bbox TextBlob
createDate Instant
createBy String
updateDate Instant
updateBy String
}
entity StorageBlob {
key String
path String
filename String
contentType String
metadata String
byteSize Long
checksum String
createDate Instant
createBy String
updateDate Instant
updateBy String
}
entity StorageBlobAttachment {
attachmentName String
recordType String
recordId Long
}
entity AuditTrail {
activity String
description String
ipaddress String
time Instant
}
relationship ManyToOne {
DocumentParticipant{document(title)} to Document
DocumentParticipant{user(email)} to User
SignatureBlock{user(email)} to User
TextBlock{user(email)} to User
ContentField{document(title)} to Document
ContentField{signatory(email)} to User
StorageBlob{document(title)} to Document
StorageBlobAttachment{sblob(filename)} to StorageBlob
SignatureBlock to ContentField
SentinelBlock to ContentField
AuditTrail{document(title)} to Document
AuditTrail{user(email)} to User
}
relationship OneToMany {
Document{participants} to DocumentParticipant
Document{fields} to ContentField
Document{storages} to StorageBlob
StorageBlob{attachments} to StorageBlobAttachment
Document{audittrails} to AuditTrail
}