storage-alert-info-codegen.xml 1.56 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
  <entity name="storage-alert-info" root="true">
    <attribute name="id" value-type="String" />
    <attribute name="start-time" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
    <attribute name="end-time" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
    <entity-ref name="storage" type="list" names="storages" />
  </entity>
  <entity name="storage">
    <attribute name="id" value-type="String" />
    <attribute name="level" value-type="int" />
    <attribute name="count" value-type="int" />
    <entity-ref name="machine" type="list" names="machines" />
  </entity>
  <entity name="machine">
    <attribute name="id" value-type="String" />
    <attribute name="level" value-type="int" />
    <attribute name="count" value-type="int" />
    <entity-ref name="operation" type="list" names="operations" />
  </entity>
  <entity name="operation">
    <attribute name="id" value-type="String" />
    <attribute name="level" value-type="int" />
    <attribute name="count" value-type="int" />
    <entity-ref name="target" type="list" names="targets" />
  </entity>
  <entity name="target">
    <attribute name="id" value-type="String" />
    <attribute name="title" value-type="String" />
    <attribute name="level" value-type="int" />
    <attribute name="count" value-type="int" />
    <entity-ref name="detail" type="list" names="details" />
  </entity>
  <entity name="detail">
    <attribute name="content" value-type="String" />
    <attribute name="level" value-type="int" />
  </entity>
</model>