src-db/database/model/tables/AD_TREENODEMM.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 5551 7a30caea85b5
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="TABLE AD_TREENODEMM">
     2   <database name="TABLE AD_TREENODEMM">
     3     <table name="AD_TREENODEMM" primaryKey="AD_TREENODEMM_KEY">
     3     <table name="AD_TREENODEMM" primaryKey="AD_TREENODEMM_KEY">
     4       <column name="AD_TREE_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     4       <column name="AD_TREENODEMM_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     5         <default/>
       
     6         <onCreateDefault><![CDATA[get_uuid()]]></onCreateDefault>
       
     7       </column>
       
     8       <column name="AD_TREE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     5         <default/>
     9         <default/>
     6         <onCreateDefault/>
    10         <onCreateDefault/>
     7       </column>
    11       </column>
     8       <column name="NODE_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    12       <column name="NODE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     9         <default/>
    13         <default/>
    10         <onCreateDefault/>
    14         <onCreateDefault/>
    11       </column>
    15       </column>
    12       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    16       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    13         <default/>
    17         <default/>
    14         <onCreateDefault/>
    18         <onCreateDefault/>
    15       </column>
    19       </column>
    16       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    20       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    17         <default/>
    21         <default/>
    18         <onCreateDefault/>
    22         <onCreateDefault/>
    19       </column>
    23       </column>
    20       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    24       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    21         <default><![CDATA[Y]]></default>
    25         <default><![CDATA[Y]]></default>
    23       </column>
    27       </column>
    24       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    28       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    25         <default><![CDATA[SYSDATE]]></default>
    29         <default><![CDATA[SYSDATE]]></default>
    26         <onCreateDefault/>
    30         <onCreateDefault/>
    27       </column>
    31       </column>
    28       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    32       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    29         <default/>
    33         <default/>
    30         <onCreateDefault/>
    34         <onCreateDefault/>
    31       </column>
    35       </column>
    32       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    36       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    33         <default><![CDATA[SYSDATE]]></default>
    37         <default><![CDATA[SYSDATE]]></default>
    34         <onCreateDefault/>
    38         <onCreateDefault/>
    35       </column>
    39       </column>
    36       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    40       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    37         <default/>
    41         <default/>
    38         <onCreateDefault/>
    42         <onCreateDefault/>
    39       </column>
    43       </column>
    40       <column name="PARENT_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    44       <column name="PARENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    41         <default/>
    45         <default/>
    42         <onCreateDefault/>
    46         <onCreateDefault/>
    43       </column>
    47       </column>
    44       <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    48       <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    45         <default/>
    49         <default/>
    55         <reference local="AD_TREE_ID" foreign="AD_TREE_ID"/>
    59         <reference local="AD_TREE_ID" foreign="AD_TREE_ID"/>
    56       </foreign-key>
    60       </foreign-key>
    57       <index name="AD_TREENODEMM_PARENT" unique="false">
    61       <index name="AD_TREENODEMM_PARENT" unique="false">
    58         <index-column name="PARENT_ID"/>
    62         <index-column name="PARENT_ID"/>
    59       </index>
    63       </index>
       
    64       <unique name="ADTREENODEMM_ADTREEID_NODEI_UN">
       
    65         <unique-column name="AD_TREE_ID"/>
       
    66         <unique-column name="NODE_ID"/>
       
    67       </unique>
    60       <check name="AD_TREENODEMM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    68       <check name="AD_TREENODEMM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    61     </table>
    69     </table>
    62   </database>
    70   </database>