<query id="insertCategory" action="insert">
    <tables>
        <table name="document_categories" />
    </tables>
    <columns>
        <column name="category_srl" var="category_srl" filter="number" notnull="notnull" />
        <column name="module_srl" var="module_srl" filter="number" default="0" notnull="notnull" />
        <column name="title" var="title" notnull="notnull" minlength="2" maxlength="250" />
        <column name="document_count" var="document_count" default="0" />
        <column name="regdate" var="regdate" default="curdate()" />
        <column name="last_update" var="last_update" default="curdate()" />
        <column name="list_order" var="list_order" default="0" />
    </columns>
</query>
