<?xml version="1.0" encoding="utf-8"?>
<table>
    <name>payment_plans</name>
    <collation>utf8_general_ci</collation>
    <description></description>
    <columns>
        <column name="id">
            <type>int</type>
            <length>11</length>
            <signed>UNSIGNED</signed>
            <null>NOT NULL</null>
            <extra>auto_increment</extra>
            <description></description>
        </column>
        <column name="plan_name">
            <type>varchar</type>
            <length>255</length>
            <null>NOT NULL</null>
            <default></default>
            <allow_html>false</allow_html>
            <encode_html>false</encode_html>
            <description></description>
        </column>
        <column name="plan_type">
            <type>char</type>
            <length>2</length>
            <null>NOT NULL</null>
            <default>AA</default>
            <allow_html>false</allow_html>
            <encode_html>false</encode_html>
            <description></description>
        </column>
        <column name="deposit_percentage">
            <type>decimal</type>
            <length>20,6</length>
            <null>NOT NULL</null>
            <default>0.00</default>
            <description></description>
        </column>
        <column name="currency">
            <type>char</type>
            <length>3</length>
            <null>NOT NULL</null>
            <default></default>
            <allow_html>false</allow_html>
            <encode_html>false</encode_html>
            <description></description>
        </column>
        <column name="deposit_amount">
            <type>decimal</type>
            <length>20,6</length>
            <null>NOT NULL</null>
            <default>0.00</default>
            <description></description>
        </column>
        <column name="installment_frequency">
            <type>char</type>
            <length>2</length>
            <null>NOT NULL</null>
            <default>AA</default>
            <allow_html>false</allow_html>
            <encode_html>false</encode_html>
            <description></description>
        </column>
        <column name="no_of_installments">
            <type>int</type>
            <length>11</length>
            <null>NOT NULL</null>
            <default>0</default>
            <description></description>
        </column>
        <column name="quote_default">
            <type>tinyint</type>
            <length>4</length>
            <null>NOT NULL</null>
            <default>0</default>
            <description></description>
        </column>
        <column name="invoice_default">
            <type>tinyint</type>
            <length>4</length>
            <null>NOT NULL</null>
            <default>0</default>
            <description></description>
        </column>
    </columns>
    <primary>
        <columns>
            <column>
                <name>id</name>
            </column>
        </columns>
    </primary>
</table>