storage-report-codegen.xml
1.95 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<model>
<entity name="storage-report" root="true">
<attribute name="id" value-type="String" />
<attribute name="name" value-type="String" />
<attribute name="type" value-type="String" />
<attribute name="startTime" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<attribute name="endTime" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<element name="id" value-type="String" type="list" names="ids" />
<element name="ip" value-type="String" type="list" names="ips" />
<element name="op" value-type="String" type="list" names="ops" />
<entity-ref name="machine" type="list" names="machines" />
</entity>
<entity name="machine">
<attribute name="id" value-type="String" />
<entity-ref name="domain" type="list" names="domains" />
</entity>
<entity name="domain">
<attribute name="id" value-type="String" />
<entity-ref name="operation" type="list" names="operations" />
<entity-ref name="sql" type="list" names="sqls" />
</entity>
<entity name="operation">
<attribute name="id" value-type="String" />
<attribute name="count" value-type="int" />
<attribute name="avg" value-type="int" />
<attribute name="sum" value-type="int" />
<attribute name="error" value-type="int" />
<attribute name="long-count" value-type="int" />
<entity-ref name="segment" type="list" names="segments" />
</entity>
<entity name="segment">
<attribute name="id" value-type="int" />
<attribute name="count" value-type="int" />
<attribute name="avg" value-type="int" />
<attribute name="sum" value-type="int" />
<attribute name="error" value-type="int" />
<attribute name="long-count" value-type="int" />
</entity>
<entity name="sql">
<attribute name="id" value-type="String" />
<attribute name="statement" value-type="String" />
<attribute name="count" value-type="int" />
</entity>
</model>