cross-report-codegen.xml 1.69 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
  <entity name="cross-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" />
    <element name="domain" value-type="String" type="list" names="domains" />
    <element name="ip" value-type="String" type="list" names="ips" />
    <entity-ref name="local" type="list" names="locals"/>
  </entity>
  <entity name="local">
    <attribute name="id" value-type="String" />
    <entity-ref name="remote" type="list" names="remotes" />
  </entity>
  <entity name="remote">
    <attribute name="id" value-type="String" />
    <attribute name="role" value-type="String" />
    <entity-ref name="type" />
  </entity>
  <entity name="type">
    <attribute name="id" value-type="String" />
    <attribute name="totalCount" value-type="String" />
    <attribute name="failCount" value-type="int" />
    <attribute name="failPercent" value-type="double" />
    <attribute name="avg" value-type="double" />
    <attribute name="sum" value-type="double" />
    <attribute name="tps" value-type="double" />
    <entity-ref name="name" type="list" names="names" />
  </entity>
  <entity name="name">
    <attribute name="id" value-type="String" />
    <attribute name="totalCount" value-type="int" />
    <attribute name="failCount" value-type="int" />
    <attribute name="failPercent" value-type="double" />
    <attribute name="avg" value-type="double" />
    <attribute name="sum" value-type="double" />
    <attribute name="tps" value-type="double" />
  </entity>
</model>