state-report-codegen.xml
1.31 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
<entity name="state-report" root="true">
<attribute name="domain" 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" />
<entity-ref name="machine" type="list" names="machines" />
</entity>
<entity name="machine">
<attribute name="ip" value-type="String" />
<entity-ref name="processDomain" type="list" names="processDomains" xml-indent="true" />
<entity-ref name="message" type="list" names="messages" />
</entity>
<entity name="processDomain">
<attribute name="name" value-type="String" />
<element name="ip" value-type="String" type="list" names="ips" />
</entity>
<entity name="message">
<attribute name="id" value-type="int" />
<attribute name="time" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<attribute name="total" value-type="int" />
<attribute name="totalLoss" value-type="int" />
<attribute name="dump" value-type="int" />
<attribute name="dumpLoss" value-type="int" />
<attribute name="size" value-type="double" />
<attribute name="delaySum" value-type="double" />
<attribute name="delayCount" value-type="int" />
</entity>
</model>