-
Notifications
You must be signed in to change notification settings - Fork 7
/
jhipster-jdl.jdl
86 lines (71 loc) · 1.37 KB
/
jhipster-jdl.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
79
80
81
82
83
84
85
entity Transcript {
ensemblTranscriptId String,
canonical Boolean required,
ensemblProteinId String,
referenceSequenceId String,
description String
}
entity EnsemblGene {
referenceGenome String required,
ensemblGeneId String required,
canonical Boolean required,
chromosome String required,
start Integer required,
end Integer required,
strand Integer required
}
entity GenomeFragment {
chromosome String,
start Integer,
end Integer,
strand Integer,
type GenomeFragmentType
}
enum GenomeFragmentType {
GENE,
EXON,
FIVE_PRIME_UTR,
THREE_PRIME_UTR
}
entity Sequence {
sequenceType SequenceType
sequence TextBlob
}
enum SequenceType {
PROTEIN, CDNA
}
entity Drug {
name TextBlob
code String
semanticType TextBlob
}
entity DrugSynonym {
name TextBlob
}
entity Info {
type InfoType unique required
value String
lastUpdated Instant
}
enum InfoType {
NCIT_VERSION,
GENE_LAST_UPDATED
}
entity Gene {
entrezGeneId Integer
hugoSymbol String
}
entity GeneAlias {
name String
}
relationship OneToMany {
Drug{synonyms} to DrugSynonym
Gene to GeneAlias
Gene to EnsemblGene
Transcript{fragments} to GenomeFragment{transcript}
EnsemblGene to Transcript
Transcript to Sequence
}
service * with serviceClass
dto Transcript with mapstruct
skipClient *