event-report-codegen.xml 1.58 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
	<entity name="event-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" />
    	<entity-ref name="machine" type="list" names="types" />
	</entity>
	<entity name="machine">
		<attribute name="ip" value-type="String" />
		<entity-ref name="type" type="list" names="machines" />
	</entity>
	<entity name="type">
		<attribute name="id" value-type="String" />
		<attribute name="totalCount" value-type="int" />
		<attribute name="failCount" value-type="int" />
		<attribute name="failPercent" value-type="double" />
		<element name="successMessageUrl" value-type="String" />
		<element name="failMessageUrl" value-type="String" />
		<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" />
		<element name="successMessageUrl" value-type="String" />
		<element name="failMessageUrl" value-type="String" />
		<entity-ref name="range" type="list" names="ranges" />
	</entity>
	<entity name="range">
		<attribute name="value" value-type="int" />
		<attribute name="count" value-type="int" />
		<attribute name="fails" value-type="int" />
	</entity>
</model>