<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : estados_documentos.xml
    Author     : Francesc Pineda Segarra
    Description:
        Structure for the estados_documentos table.
-->
<table>
    <column>
        <name>activo</name>
        <type>boolean</type>
        <default>true</default>
    </column>
    <column>
        <name>actualizastock</name>
        <type>integer</type>
    </column>
    <column>
        <name>bloquear</name>
        <type>boolean</type>
    </column>
    <column>
        <name>color</name>
        <type>character varying(15)</type>
    </column>
    <column>
        <name>editable</name>
        <type>boolean</type>
    </column>
    <column>
        <name>generadoc</name>
        <type>character varying(30)</type>
    </column>
    <column>
        <name>icon</name>
        <type>character varying(50)</type>
    </column>
    <column>
        <name>idestado</name>
        <type>serial</type>
        <null>NO</null>
    </column>
    <column>
        <name>nombre</name>
        <type>character varying(30)</type>
        <null>NO</null>
    </column>
    <column>
        <name>predeterminado</name>
        <type>boolean</type>
    </column>
    <column>
        <name>tipodoc</name>
        <type>character varying(30)</type>
        <null>NO</null>
    </column>
    <constraint>
        <name>estados_documentos_pkey</name>
        <type>PRIMARY KEY (idestado)</type>
    </constraint>
</table>
