<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ -->
<!-- Active URL: http://localhost/recfin/static/gerador/sqldesigner/ -->
<sql>
<datatypes db="mysql">
	<group label="Numeric" color="rgb(238,238,170)">
		<type label="Integer" length="0" sql="INTEGER" re="INT" quote=""/>
		<type label="Decimal" length="1" sql="DECIMAL" re="DEC" quote=""/>
		<type label="Single precision" length="0" sql="FLOAT" quote=""/>
		<type label="Double precision" length="0" sql="DOUBLE" re="DOUBLE" quote=""/>
	</group>

	<group label="Character" color="rgb(255,200,200)">
		<type label="Char" length="1" sql="CHAR" quote="'"/>
		<type label="Varchar" length="1" sql="VARCHAR" quote="'"/>
		<type label="Text" length="0" sql="MEDIUMTEXT" re="TEXT" quote="'"/>
		<type label="Binary" length="1" sql="BINARY" quote="'"/>
		<type label="Varbinary" length="1" sql="VARBINARY" quote="'"/>
		<type label="BLOB" length="0" sql="BLOB" re="BLOB" quote="'"/>
	</group>

	<group label="Date &amp; Time" color="rgb(200,255,200)">
		<type label="Date" length="0" sql="DATE" quote="'"/>
		<type label="Time" length="0" sql="TIME" quote="'"/>
		<type label="Datetime" length="0" sql="DATETIME" quote="'"/>
		<type label="Year" length="0" sql="YEAR" quote=""/>
		<type label="Timestamp" length="0" sql="TIMESTAMP" quote="'"/>
	</group>
	
	<group label="Miscellaneous" color="rgb(200,200,255)">
		<type label="ENUM" length="1" sql="ENUM" quote=""/>
		<type label="SET" length="1" sql="SET" quote=""/>
		<type label="Bit" length="0" sql="bit" quote=""/>
	</group>
</datatypes><table x="229" y="277" name="(importacao) periodo">
<row name="cod" null="0" autoincrement="1">
<datatype>INTEGER(11)</datatype>
</row>
<row name="codPeriodo" null="0" autoincrement="0">
<datatype>INTEGER(3)</datatype>
</row>
<row name="codCvm" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
<relation table="(importacao) cadastro" row="codCvm" />
</row>
<row name="dtInicio" null="0" autoincrement="0">
<datatype>DATE</datatype>
</row>
<row name="dtFim" null="0" autoincrement="0">
<datatype>DATE</datatype>
</row>
<key type="PRIMARY" name="">
<part>cod</part>
</key>
</table>
<table x="229" y="25" name="(importacao) balanco">
<row name="cod" null="0" autoincrement="1">
<datatype>INTEGER(11)</datatype>
</row>
<row name="codCvm" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
<relation table="(importacao) cadastro" row="codCvm" />
</row>
<row name="codIdentifica" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
</row>
<row name="lsTipo" null="0" autoincrement="0">
<datatype>ENUM('1','2')</datatype>
</row>
<row name="dsCodConta" null="0" autoincrement="0">
<datatype>VARCHAR(20)</datatype>
</row>
<row name="dsConta" null="0" autoincrement="0">
<datatype>VARCHAR(100)</datatype>
</row>
<row name="nrContaOrdem" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
</row>
<key type="PRIMARY" name="">
<part>cod</part>
</key>
</table>
<table x="534" y="129" name="(importacao) cadastro">
<row name="codCvm" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
</row>
<row name="dsRazaoSocial" null="0" autoincrement="0">
<datatype>VARCHAR(200)</datatype>
</row>
<row name="codVersao" null="0" autoincrement="0">
<datatype>INTEGER(3)</datatype>
</row>
<key type="PRIMARY" name="">
<part>codCvm</part>
</key>
</table>
<table x="845" y="105" name="(importacao) valor">
<row name="cod" null="0" autoincrement="1">
<datatype>INTEGER(11)</datatype>
</row>
<row name="codCvm" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
<relation table="(importacao) cadastro" row="codCvm" />
</row>
<row name="codIdentifica" null="0" autoincrement="0">
<datatype>INTEGER(11)</datatype>
</row>
<row name="nrValor" null="0" autoincrement="0">
<datatype>INTEGER(15)</datatype>
</row>
<row name="codPeriodo" null="0" autoincrement="0">
<datatype>INTEGER(3)</datatype>
</row>
<key type="PRIMARY" name="">
<part>cod</part>
</key>
</table>
</sql>
