core-jgi/db/ddlutils/model/AD_PRINTTABLEFORMAT.xml

70 lines
6.1 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_PRINTTABLEFORMAT">
<column name="AD_PRINTTABLEFORMAT_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
<column name="HDR_PRINTFONT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="HDRTEXTFG_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="HDRTEXTBG_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="HDRLINE_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="FUNCT_PRINTFONT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="FUNCTBG_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="FUNCTFG_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="LINE_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ISPAINTBOUNDARYLINES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISPAINTHLINES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISPAINTVLINES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISPRINTFUNCTIONSYMBOLS" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="IMAGEURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="HEADERLEFT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HEADERCENTER" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HEADERRIGHT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="FOOTERLEFT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="FOOTERCENTER" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="FOOTERRIGHT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="IMAGEISATTACHED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="HDRSTROKE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
<column name="LINESTROKE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
<column name="HDRSTROKETYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="LINESTROKETYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISPAINTHEADERLINES" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLEFUNCTBG" onDelete="none">
<reference local="FUNCTBG_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLEFUNCTFG" onDelete="none">
<reference local="FUNCTFG_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLEHDRLINE" onDelete="none">
<reference local="HDRLINE_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLEHDRTEXTBG" onDelete="none">
<reference local="HDRTEXTBG_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLELINE" onDelete="none">
<reference local="LINE_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR_TABLEHDRTEXTFG" onDelete="none">
<reference local="HDRTEXTFG_PRINTCOLOR_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTFONT" name="ADPRINTFONT_TABLEFORMATFUNC" onDelete="none">
<reference local="FUNCT_PRINTFONT_ID" foreign="AD_PRINTFONT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTFONT" name="ADPRINTFONT_TABLEHDR" onDelete="none">
<reference local="HDR_PRINTFONT_ID" foreign="AD_PRINTFONT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>